|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.game.AbstractEnvironment
org.vizzini.game.arcadegame.AbstractArcadeEnvironment
public abstract class AbstractArcadeEnvironment
Provides base functionality for arcade game environments in the game framework.
Constructor Summary | |
---|---|
AbstractArcadeEnvironment()
Construct this object. |
Method Summary | |
---|---|
void |
configure(Properties properties)
Configure this environment. |
Dimension |
getDimension()
Return the dimensions of the playing area. |
protected void |
setDimension(Dimension dimension)
Set the dimensions of the playing area. |
protected void |
setDimension(int width,
int height)
Set the dimensions of the playing area. |
void |
undoAction(IAction action)
Undo the given action. |
Methods inherited from class org.vizzini.game.AbstractEnvironment |
---|
addStateListener, clone, 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 |
Methods inherited from interface org.vizzini.game.IEnvironment |
---|
addStateListener, clone, copy, get, getAdjudicator, getAgentCollection, getTeamCollection, getTokenCollection, getTurnNumber, incrementTurnNumber, isFiringStateChanges, open, performAction, performActions, removeStateListener, reset, setAdjudicator, setAgentCollection, setFiringStateChanges, setTurnNumber, update |
Constructor Detail |
---|
public AbstractArcadeEnvironment()
Method Detail |
---|
public void configure(Properties properties) throws InstantiationException, IllegalAccessException
configure
in interface IEnvironment
configure
in class AbstractEnvironment
properties
- Source of configuration information.
InstantiationException
IllegalAccessException
public Dimension getDimension()
getDimension
in interface IArcadeEnvironment
public void undoAction(IAction action)
undoAction
in interface IEnvironment
action
- Action.protected void setDimension(Dimension dimension)
protected void setDimension(int width, int height)
|
||||||||||
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 |