public DetermineAttack(IGame game, IAttackingInPlay attacker, IDefendingInPlay defender) : base(game) { this.Attacker = attacker; this.Defender = defender; this.attack = attacker.Card.PrintedAttack; }
public DetermineDefense(IGame game, IAttackingInPlay attacker, IDefendingInPlay defender) : base(game) { this.Attacker = attacker; this.Defender = defender; this.defense = defender.Card.PrintedDefense; }
public DetermineAttack(IGame game, IAttackingInPlay attacker, IDefendingInPlay defender) : base(game) { this.Attacker = attacker; this.Defender = defender; this.attack = attacker.Card.PrintedAttack; }
public DetermineDefense(IGame game, IAttackingInPlay attacker, IDefendingInPlay defender) : base(game) { this.Attacker = attacker; this.Defender = defender; this.defense = defender.Card.PrintedDefense; }
public void RemoveAttacker(IAttackingInPlay attacker) { if (attacker == null) { throw new ArgumentNullException("attacker"); } if (!attackers.Contains(attacker)) { return; } attackers.Remove(attacker); }