Package Files
Class Deck
java.lang.Object
Files.Deck
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionDraws a random card, removes it from the deck, returns it
- 
Constructor Details- 
Deckpublic Deck()Creates deck object with 14 of each type of card and 2 jokers
 
- 
- 
Method Details- 
drawRandomDraws a random card, removes it from the deck, returns it- Returns:
- Card card that is drawn from the deck
 
 
-