|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.game.action.ActionFactory
public class ActionFactory
Provides a factory for game actions.
Constructor Summary | |
---|---|
protected |
ActionFactory()
Construct this object. |
Method Summary | |
---|---|
static ActionFactory |
getInstance()
Return the singleton instance. |
RedoAction |
getRedoAction(IAgent agent)
Return an RedoAction for the given parameters. |
UndoAction |
getUndoAction(IAgent agent)
Return an UndoAction for the given parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ActionFactory()
Method Detail |
---|
public static ActionFactory getInstance()
public RedoAction getRedoAction(IAgent agent)
RedoAction
for the given parameters.
public UndoAction getUndoAction(IAgent agent)
UndoAction
for the given parameters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |