Esempio n. 1
0
 public IUnit TakeDamage(int damage)
 {
     if (!_gorod.IsDead)
     {
         _gorod.TakeDamage(damage);
     }
     return(this);
 }
Esempio n. 2
0
        public bool GetHit(int hit)
        {
            GG.TakeDamage(hit);

            return(!GG.IsDead);
        }