|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Move | +--yostinso.MoveGCSPMove
Move GardenColumn - SuitPile class (for undo purposes) Creation date: (11/29/2001 8:20:28 PM)
Field Summary | |
protected Column |
from
From. |
protected Column |
movingColumn
Column being dragged. |
protected SuitPile |
to
Destination. |
Constructor Summary | |
MoveGCSPMove(Column from,
Column movingColumn,
SuitPile to)
|
Method Summary | |
boolean |
doMove(Solitaire theGame)
|
SuitPile |
getDestination()
Returns destination pile (calculated by valid method). |
boolean |
undo(Solitaire game)
|
boolean |
valid(Solitaire theGame)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Column from
protected Column movingColumn
protected SuitPile to
Constructor Detail |
public MoveGCSPMove(Column from, Column movingColumn, SuitPile to)
Method Detail |
public boolean doMove(Solitaire theGame)
public SuitPile getDestination()
public boolean undo(Solitaire game)
public boolean valid(Solitaire theGame)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |