public abstract class BasicState extends GameState<CellGame,BasicState,BasicThinker>
A BasicState is a type of GameState that uses BasicThinkers, which have no special capabilities, and treats its CellGame as a basic CellGame. It is designed to be easily extended by types of GameStates that do not require custom fields or methods to be automatically shared between themselves and their SubThinkers or CellGames.
Constructor and Description |
---|
BasicState(CellGame game,
int id)
Constructs a BasicState of the specified CellGame with the specified ID.
|
addAnimInstance, addAnimInstance, bindFinishedActions, charDeletedActions, charTypedActions, clearAnimInstances, enteredActions, getAnimation, getAnimInstance, getEffectiveTimeFactor, getGame, getGameState, getID, getNumAnimInstances, getThis, isActive, leftActions, removeAnimInstance, renderActions, setAnimation, setAnimInstance, stringBeganActions, stringCanceledActions, stringDeletedActions, stringFinishedActions
addSubThinker, addSubThinkerActions, clearLineages, clearSubThinkers, frameActions, getFrameEvents, getGameClass, getNumSubThinkers, getStateClass, getSubThinkerClass, getTimeFactor, getTimerValue, iteratingThroughSubThinkers, removeLineage, removeSubThinker, removeSubThinkerActions, setTimeFactor, setTimerValue, subThinkerIterator
public BasicState(CellGame game, int id)
game
- The CellGame to which this BasicState belongsid
- This BasicState's ID