| Modifier and Type | Method and Description |
|---|---|
Card |
Deck.nextCard()
Returns the card at the top of the deck.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Deck.putCard(Card card)
Puts the given card at the top of the deck
|
| Constructor and Description |
|---|
Deck(java.util.List<Card> cards)
Constructs a deck with the given list of cards.
|