org.vizzini.game.action
Class ActionFactory

java.lang.Object
  extended by org.vizzini.game.action.ActionFactory

public class ActionFactory
extends Object

Provides a factory for game actions.

Since:
v0.2
Version:
v0.2
Author:
Jeffrey M. Thompson

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

ActionFactory

protected ActionFactory()
Construct this object. This method is protected as part of the Singleton pattern.

Since:
v0.2
Method Detail

getInstance

public static ActionFactory getInstance()
Return the singleton instance.

Since:
v0.2

getRedoAction

public RedoAction getRedoAction(IAgent agent)
Return an RedoAction for the given parameters.

Since:
v0.2

getUndoAction

public UndoAction getUndoAction(IAgent agent)
Return an UndoAction for the given parameters.

Since:
v0.2


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02