Deck Methods |
The Deck type exposes the following members.
| Name | Description | |
|---|---|---|
| Cut |
Cuts the deck of cards at the given location
| |
Prints the cards in the deck
| ||
| Shuffle |
Shuffles the deck
Reference: http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collections.html#shuffle%28java.util.List%29
| |
| TakeTopCard |
Takes the top card from the deck. If the deck is empty, returns null
|