Esempio n. 1
0
 protected void ApplyDamage(Organism enemy, int damage)
 {
     if (damage <= 0)
     {
         enemy.OnMiss();
     }
     else
     {
         enemy.stats.Health -= damage;
     }
 }