org.vizzini.game
Class DefaultEnvironment
java.lang.Object
org.vizzini.game.AbstractEnvironment
org.vizzini.game.DefaultEnvironment
- All Implemented Interfaces:
- Serializable, Cloneable, IEnvironment
public class DefaultEnvironment
- extends AbstractEnvironment
Provides a default implementation of an environment. This class ignores
requests to perform and undo actions.
- Since:
- v0.2
- Version:
- v0.2
- Author:
- Jeffrey M. Thompson
- See Also:
- Serialized Form
Methods inherited from class org.vizzini.game.AbstractEnvironment |
addStateListener, clone, configure, copy, createInitialTokens, equals, get, getAdjudicator, getAgentCollection, getStateManager, getTeamCollection, getTokenCollection, getTokenCollectionClass, getTurnNumber, hashCode, incrementTurnNumber, isFiringStateChanges, open, performActions, removeStateListener, reset, setAdjudicator, setAgentCollection, setFiringStateChanges, setTokenCollectionClass, setTurnNumber, update |
DefaultEnvironment
public DefaultEnvironment()
performAction
public void performAction(IAction action)
- Perform the given action.
- Parameters:
action
- Action.- Since:
- v0.2
undoAction
public void undoAction(IAction action)
- Undo the given action.
- Parameters:
action
- Action.- Since:
- v0.2
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |