yostinso
Class FlowerGarden

java.lang.Object
  |
  +--Solitaire
        |
        +--yostinso.FlowerGarden

public class FlowerGarden
extends Solitaire

FlowerGarden solitaire variation Creation date: (11/29/2001 11:02:13 AM)

See Also:
Serialized Form

Field Summary
protected  GardenRow bouquet
           
protected  GardenRowView bouquetView
           
protected  Deck deck
           
protected  Column[] gardenColumns
           
protected  GardenColumnView[] gardenColumnViews
           
static int moveGCGCMove
           
static int moveGCSPMove
           
static int moveGRGCMove
           
static int moveGRSPMove
           
protected  IntegerView scoreView
           
protected  SuitPile[] suitPiles
           
protected  SuitPileView[] suitPileViews
           
 
Constructor Summary
FlowerGarden()
          FlowerGarden constructor comment.
 
Method Summary
 int getEmptyColumnCount(Column source, Column target)
          Returns the number of empty GardenColumns *without counting* source and target.
 java.lang.String getName()
           
 boolean hasWon()
          Determine win condition for FlowerGarden.
 void initialize()
          Initializes FlowerGarden Plugin.
 void showSplashScreen()
          Show Splash screen (and one where all images are loaded first).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deck

protected Deck deck

gardenColumns

protected Column[] gardenColumns

suitPiles

protected SuitPile[] suitPiles

bouquet

protected GardenRow bouquet

gardenColumnViews

protected GardenColumnView[] gardenColumnViews

suitPileViews

protected SuitPileView[] suitPileViews

bouquetView

protected GardenRowView bouquetView

scoreView

protected IntegerView scoreView

moveGCGCMove

public static final int moveGCGCMove
See Also:
Constant Field Values

moveGRGCMove

public static final int moveGRGCMove
See Also:
Constant Field Values

moveGCSPMove

public static final int moveGCSPMove
See Also:
Constant Field Values

moveGRSPMove

public static final int moveGRSPMove
See Also:
Constant Field Values
Constructor Detail

FlowerGarden

public FlowerGarden()
FlowerGarden constructor comment.

Method Detail

getEmptyColumnCount

public int getEmptyColumnCount(Column source,
                               Column target)
Returns the number of empty GardenColumns *without counting* source and target. Note: pass in null if you just want to get a count of the number of available columns. There are times we want to avoid a target column to ensure we aren't making an illegal move. Creation date: (12/3/2001 10:34:10 AM)

Returns:
int

getName

public java.lang.String getName()

hasWon

public boolean hasWon()
Determine win condition for FlowerGarden. TODO: FIX ME!


initialize

public void initialize()
Initializes FlowerGarden Plugin.


showSplashScreen

public void showSplashScreen()
Show Splash screen (and one where all images are loaded first). Creation date: (10/3/01 8:58:38 PM)