|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--ks.common.model.Move
|
+--heineman.klondike.FlipCardMove
Represents the flip of a BuildablePile card.
| Field Summary | |
protected BuildablePile |
pile
The affected pile. |
| Constructor Summary | |
FlipCardMove(BuildablePile bp)
Represents the flip of a card on a BuildablePile. |
|
| Method Summary | |
boolean |
doMove(ks.common.games.Solitaire game)
Flip card in this BuildablePile |
boolean |
undo(ks.common.games.Solitaire game)
undo Flip by calling flipCard() |
boolean |
valid(ks.common.games.Solitaire game)
Action for Klondike: Flip BuildablePile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected BuildablePile pile
| Constructor Detail |
public FlipCardMove(BuildablePile bp)
Creation date: (11/10/01 11:02:58 PM)
bp - ks.games.klondike.BuildablePile| Method Detail |
public boolean doMove(ks.common.games.Solitaire game)
public boolean undo(ks.common.games.Solitaire game)
public boolean valid(ks.common.games.Solitaire game)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||