T
- The subclass of CellGame that uses this BasicThinker's
BasicGameStatespublic abstract class BasicThinker<T extends CellGame> extends Thinker<T,BasicGameState<T>,BasicThinker<T>>
A BasicThinker is a type of Thinker that is used by BasicGameStates, which have no special capabilities. It does not automatically share any custom fields or methods between itself and its CellGameStates.
It is useful to implicitly extend BasicThinker to override its methods for single instances without creating completely new class files.
Constructor and Description |
---|
BasicThinker() |
Modifier and Type | Method and Description |
---|---|
BasicThinker<T> |
getThis()
A method which returns this Thinker as a V, rather than as a
Thinker<T,U,V>.
|
addedActions, addThinkerActions, addThinkerActions, frameActions, getActionPriority, getEffectiveTimeFactor, getGame, getGameState, getNewActionPriority, getNewThinkerGroup, getThinkerGroup, getTimeFactor, getTimerValue, removedActions, removeThinkerActions, removeThinkerActions, setActionPriority, setThinkerGroup, setTimeFactor, setTimerValue, timeUnitActions
addThinker, getNumThinkers, iteratingThroughThinkers, removeAllSubThinkers, removeAllThinkers, removeLineage, removeThinker, thinkerIterator, updateThinkerListActions
public final BasicThinker<T> getThis()
Thinker
getThis
in class Thinker<T extends CellGame,BasicGameState<T extends CellGame>,BasicThinker<T extends CellGame>>