Modifier and Type | Method and Description |
---|---|
Card |
DeckOfCards.draw()
This method simulates drawing a card from the top of the deck.
|
Card |
DeckOfCards.getCard(int index)
Reveals value of a card in the deck
|
Card |
DeckOfCards.revealTopCard()
Reveals the top card of the deck.
|
Modifier and Type | Method and Description |
---|---|
void |
DeckOfCards.placeOnBottom(Card c)
This method simulates placing a card on the bottom of the deck.
|