com.blackledge.david.game.solitaire
Class SolitaireDeck

java.lang.Object
  extended by com.blackledge.david.game.solitaire.CardDeck
      extended by com.blackledge.david.game.solitaire.SolitaireDeck

public class SolitaireDeck
extends CardDeck


Constructor Summary
SolitaireDeck()
           
SolitaireDeck(CardStack stack)
           
 
Method Summary
 CardStack draw()
          Override for different default draw behavior.
 
Methods inherited from class com.blackledge.david.game.solitaire.CardDeck
draw, get, peek, shuffle, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolitaireDeck

public SolitaireDeck()

SolitaireDeck

public SolitaireDeck(CardStack stack)
Method Detail

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)