protected void InsertCardsIntoZone(int n, Unit owner, Zone <Card> zone) { for (var i = 0; i < n; i++) { AttackCard.MakeCopy(owner).MoveTo(zone); } }
public void CardIsMovedIntoHand() { var physicalCard = AttackCard.MakeCopy(Friend1); physicalCard.MoveTo(Friend1.Hand); Assert.IsTrue(Friend1.Hand.Contains(physicalCard)); }
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)); }
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); }