Пример #1
0
 public void TakeHealth(Enemy enemy, int healthChange)
 {
     health -= healthChange;
 }
Пример #2
0
 public void Heal(Enemy enemy, int healthChange)
 {
     health += healthChange;
 }
Пример #3
0
 public int GetHealth(Enemy enemy)
 {
     return(health);
 }