T
- The subclass of CellGame that this BasicThinker is used bypublic abstract class BasicThinker<T extends CellGame> extends Thinker<T,BasicGameState<T>,BasicThinker<T>,BasicThinkerState<T>>
A BasicThinker is a type of Thinker that is used by BasicGameStates and uses BasicThinkerStates, which have no special capabilities. It does not automatically share any custom fields or methods among itself, its CellGameStates, and its ThinkerStates.
As with BasicThinkerState, 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,W>.
|
addedActions, frameActions, getActionPriority, getEffectiveTimeFactor, getGameState, getNewActionPriority, getNewGameState, getThinkerState, getThinkerStateDuration, getTimeFactor, getTimerValue, removedActions, setActionPriority, setGameState, setThinkerState, setThinkerStateDuration, setTimeFactor, setTimerValue, timeUnitActions
public final BasicThinker<T> getThis()
Thinker
getThis
in class Thinker<T extends CellGame,BasicGameState<T extends CellGame>,BasicThinker<T extends CellGame>,BasicThinkerState<T extends CellGame>>