|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface must be implemented by the game.
Method Summary | |
Card |
dealCard()
randomly removes a card from the deck and deals it out |
void |
returnCard(Card card)
returns the card to the deck |
int |
size()
returns the number of cards left in the deck |
Method Detail |
public Card dealCard()
public int size()
public void returnCard(Card card)
card
- the card to be returned to the deck
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |