Ejemplo n.º 1
0
 public DetermineAttack(IGame game, IAttackingInPlay attacker, IDefendingInPlay defender)
     : base(game)
 {
     this.Attacker = attacker;
     this.Defender = defender;
     this.attack   = attacker.Card.PrintedAttack;
 }
Ejemplo n.º 2
0
 public DetermineDefense(IGame game, IAttackingInPlay attacker, IDefendingInPlay defender)
     : base(game)
 {
     this.Attacker = attacker;
     this.Defender = defender;
     this.defense  = defender.Card.PrintedDefense;
 }
Ejemplo n.º 3
0
 public DetermineDefense(IGame game, IAttackingInPlay attacker, IDefendingInPlay defender)
     : base(game)
 {
     this.Attacker = attacker;
     this.Defender = defender;
     this.defense = defender.Card.PrintedDefense;
 }
Ejemplo n.º 4
0
 public DetermineAttack(IGame game, IAttackingInPlay attacker, IDefendingInPlay defender)
     : base(game)
 {
     this.Attacker = attacker;
     this.Defender = defender;
     this.attack = attacker.Card.PrintedAttack;
 }
Ejemplo n.º 5
0
        public void RemoveDefender(IDefendingInPlay defender)
        {
            if (defender == null)
            {
                throw new ArgumentNullException("defender");
            }

            if (!defenders.Contains(defender))
            {
                return;
            }

            defenders.Remove(defender);
        }
Ejemplo n.º 6
0
        public void RemoveDefender(IDefendingInPlay defender)
        {
            if (defender == null)
                throw new ArgumentNullException("defender");

            if (!defenders.Contains(defender))
                return;

            defenders.Remove(defender);
        }