Esempio n. 1
0
 public void TakeDamage(float damage)
 {
     if (_health == null)
     {
         return;
     }
     _health.TakeDamage(damage);
     if (IsDead())
     {
         _fighter.Die();
     }
 }