Ejemplo n.º 1
0
 public bool SetDamage(int damage, IDestroyable victim)
 {
     victim.TakeDamage(damage);
     if (victim.GetHealth() <= 0)
     {
         return(true);
     }
     return(false);
 }