Example #1
0
 public void TranslateCardsTo(CardPile to, int num)
 {
     for (int i = 0; i < num; i++)
     {
         TranslateCardTo(to);
     }
 }
Example #2
0
        public void TranslateCardTo(Card card, CardPile to)
        {
            Card ct = card;

            to.AddCard(ct);

            if (to.Name == "focusPile" || to.pileType == PileType.focus)
            {
                ct.isFocused = true;
                return;
            }

            this.RemoveCard(ct);
        }