public CardCollection getAllCards() { CardCollection allCards = new CardCollection (); allCards.addList (hand.getCards()); allCards.addList (deck.getCards ()); allCards.addList (discardPile.getCards ()); return allCards; }
public CardCollection getAllCards() { CardCollection allCards = new CardCollection (); allCards.addList (hand.getCards()); allCards.addList (deck.getCards ()); allCards.addList (discardPile.getCards ()); return allCards; }