Esempio n. 1
0
        public void giveDeck(Deck deck)
        {
            foreach (var card in this.cards)
            {
                deck.add(card);
            }

            this.cards.Clear();
        }
Esempio n. 2
0
 public void draw(Deck deck)
 {
     Card temp = this.cards.ElementAt(0);
         this.cards.RemoveAt(0);
         deck.add(temp);
 }