Beispiel #1
0
 public static IEnumerator ComputeAttack(bool isPLayer)
 {
     if (isPLayer)
     {
         yield return(BattleLogic.AttackCompute(true, playerAttack));
     }
     else
     {
         yield return(BattleLogic.AttackCompute(false, enemyAttack));
     }
 }