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; }
public void RespondToAttack(IAttackType attack) { attack.Hit(this); }