yostinso
Class MoveGCGCMove
java.lang.Object
|
+--Move
|
+--yostinso.MoveGCGCMove
- public class MoveGCGCMove
- extends Move
Move GardenColumn - GardenColumn class (for undo purposes)
Creation date: (11/29/2001 7:47:27 PM)
- See Also:
- Serialized Form
Constructor Summary |
MoveGCGCMove(Column from,
Column movingColumn,
Column to,
int numCards)
MoveGCGCMove constructor comment. |
Method Summary |
boolean |
doMove(Solitaire game)
|
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 |
from
protected Column from
movingColumn
protected Column movingColumn
to
protected Column to
numCards
protected int numCards
MoveGCGCMove
public MoveGCGCMove(Column from,
Column movingColumn,
Column to,
int numCards)
- MoveGCGCMove constructor comment.
doMove
public boolean doMove(Solitaire game)
undo
public boolean undo(Solitaire game)
valid
public boolean valid(Solitaire theGame)