|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectks.common.controller.UndoAdapter
ks.common.games.SolitaireUndoAdapter
Default undo adapter for use by all solitaire plug-ins.
The Solitaire Undo adapter is programmed to receive RightClick mouse events
and invoke the undoMove()
method from the Solitaire Plug-in.
Creation date: (10/27/01 4:32:35 PM)
Constructor Summary | |
SolitaireUndoAdapter(Solitaire theGame)
SolitaireUndoAdapter constructor comment. |
Method Summary | |
boolean |
undoRequested()
Undoes the actual move on the game being played. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SolitaireUndoAdapter(Solitaire theGame)
Method Detail |
public boolean undoRequested()
This request is common to all solitaire games, and we are leaving undoMove() in the Solitaire class. Perhaps in the future we might wish to consolidate it into this controller, but we'll leave it here for now.
Creation date: (10/27/01 4:33:33 PM)
undoRequested
in class UndoAdapter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |