public Deck() { Card newCard; theDeck = new List<Card>(); for (int i = 0; i < 13; i++) { for (int j = 0; j < 4; j++) { newCard = new Card(suitNames[j], rankNames[i], suitValues[j], rankValues[i]); theDeck.Add(newCard); } } }
public void AddCard(Card theCard) { theHand.Add(theCard); }