public GroupGame(int health, int damage, IAttackType attackType, IWarEffect warEffect)
 {
     this.Health = health;
     this.Damage = damage;
     this.AttackType = attackType;
     this.WarEffect = warEffect;
     this.IsAlive = true;
 }
Esempio n. 2
0
 public void RespondToAttack(IAttackType attack)
 {
     attack.Hit(this);
 }