예제 #1
0
 // Update is called once per frame
 void Update()
 {
     if (Whosturn == 1)
     {
         enemy.playTurn();
         Whosturn       = 0;
         player.energy += 2;
     }
 }