示例#1
0
 public void callDeductHealth(int calculatedAttackPower)
 {
     if (isPlayersTurn)
     {
         StartCoroutine(enemyPokemon.DeductHealth(calculatedAttackPower));
         isPlayersTurn = false;
     }
     else
     {
         StartCoroutine(playerPokemon.DeductHealth(calculatedAttackPower));
         isPlayersTurn = true;
     }
 }