T
- The subclass of CellGame that uses this BasicGameStatepublic abstract class BasicGameState<T extends CellGame> extends CellGameState<T,BasicGameState<T>,BasicThinker<T>>
A BasicGameState is a type of CellGameState that uses BasicThinkers, which have no special capabilities. It is designed to be easily extended by types of CellGameStates that do not require custom fields or methods to be automatically shared between themselves and their Thinkers.
Constructor and Description |
---|
BasicGameState(T game,
int id)
Creates a BasicGameState of the specified CellGame with the specified ID.
|
Modifier and Type | Method and Description |
---|---|
BasicGameState<T> |
getThis()
A method which returns this CellGameState as a U, rather than as a
CellGameState<T,U,V>.
|
addAnimInstance, addAnimInstance, addThinkerActions, addThinkerActions, charDeletedActions, charTypedActions, clearAnimInstances, enteredActions, frameActions, getAnimation, getAnimInstance, getGame, getID, getNumAnimInstances, getTimeFactor, isActive, leftActions, removeAnimInstance, removeThinkerActions, removeThinkerActions, renderActions, setAnimation, setAnimInstance, setTimeFactor, stringBeganActions, stringCanceledActions, stringDeletedActions, stringFinishedActions
addThinker, getNumThinkers, iteratingThroughThinkers, removeAllSubThinkers, removeAllThinkers, removeLineage, removeThinker, thinkerIterator, updateThinkerListActions
public BasicGameState(T game, int id)
game
- The CellGame of which this BasicGameState isid
- This BasicGameState's IDpublic BasicGameState<T> getThis()
CellGameState
getThis
in class CellGameState<T extends CellGame,BasicGameState<T extends CellGame>,BasicThinker<T extends CellGame>>