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