Пример #1
0
 protected void InsertCardsIntoZone(int n, Unit owner, Zone <Card> zone)
 {
     for (var i = 0; i < n; i++)
     {
         AttackCard.MakeCopy(owner).MoveTo(zone);
     }
 }
Пример #2
0
        public void CardIsMovedIntoHand()
        {
            var physicalCard = AttackCard.MakeCopy(Friend1);

            physicalCard.MoveTo(Friend1.Hand);

            Assert.IsTrue(Friend1.Hand.Contains(physicalCard));
        }
Пример #3
0
        public void CardIsMovedChangesZone()
        {
            var physicalCard = AttackCard.MakeCopy(Friend1);

            physicalCard.MoveTo(Friend1.Hand);
            physicalCard.MoveTo(Friend1.DiscardPile);

            Assert.IsFalse(Friend1.Hand.Contains(physicalCard));
            Assert.IsTrue(Friend1.DiscardPile.Contains(physicalCard));
        }
Пример #4
0
        private void SetupCardsInHands()
        {
            AttackCard.MakeCopy(Enemy1).MoveTo(Enemy1.Hand);
            AttackCard.MakeCopy(Enemy1).MoveTo(Enemy1.Hand);

            CopyCard.MakeCopy(Enemy2).MoveTo(Enemy2.Hand);


            AttackCard.MakeCopy(Friend1).MoveTo(Friend1.Hand);

            HealCard.MakeCopy(Friend2).MoveTo(Friend2.Hand);
        }