Beispiel #1
0
 public void AddHand(string cardName)
 {
     if (DeckOfAll.getInstance().cards.ContainsKey(cardName))
         hand.Add(DeckOfAll.instance.cards[cardName]);
 }
Beispiel #2
0
 public void AddDiscard(string cardName)
 {
     if (DeckOfAll.getInstance().cards.ContainsKey(cardName))
         table.Add(DeckOfAll.instance.cards[cardName]);
 }
Beispiel #3
0
 public void AddDeckTemp(string cardName)
 {
     if (DeckOfAll.getInstance().cards.ContainsKey(cardName))
         deck.Add(DeckOfAll.instance.cards[cardName]);
 }