com.blackledge.david.game.solitaire
Class SolitaireDeck
java.lang.Object
com.blackledge.david.game.solitaire.CardDeck
com.blackledge.david.game.solitaire.SolitaireDeck
public class SolitaireDeck
- extends CardDeck
Method Summary |
CardStack |
draw()
Override for different default draw behavior. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolitaireDeck
public SolitaireDeck()
SolitaireDeck
public SolitaireDeck(CardStack stack)
draw
public CardStack draw()
- Description copied from class:
CardDeck
- Override for different default draw behavior.
By default, calls
CardDeck.draw(int)
with a 1.
- Overrides:
draw
in class CardDeck
- Returns:
- the result of
CardDeck.draw(int)