org.vizzini.game
Class DefaultEnvironment

java.lang.Object
  extended by org.vizzini.game.AbstractEnvironment
      extended by 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

Constructor Summary
DefaultEnvironment()
           
 
Method Summary
 void performAction(IAction action)
          Perform the given action.
 void undoAction(IAction action)
          Undo the given action.
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEnvironment

public DefaultEnvironment()
Method Detail

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