T
- The subclass of CellGame that this SpaceThinkerState's
SpaceThinker's SpaceState is used bypublic abstract class SpaceThinkerState<T extends CellGame> extends ThinkerState<T,SpaceState<T>,SpaceThinker<T>,SpaceThinkerState<T>>
A SpaceThinkerState is the type of ThinkerState that is used by SpaceStates and SpaceThinkers. A SpaceThinkerState can take afterMovementActions() every frame after its SpaceThinker's SpaceState moves its assigned ThinkerObjects.
Constructor and Description |
---|
SpaceThinkerState() |
Modifier and Type | Method and Description |
---|---|
void |
afterMovementActions(T game,
SpaceState<T> state)
Actions for this SpaceThinkerState to take once every frame, immediately
before its SpaceThinker takes its own afterMovementActions().
|
enteredActions, frameActions, getDuration, getNextState, leftActions, timeUnitActions
public void afterMovementActions(T game, SpaceState<T> state)
game
- This SpaceThinkerState's SpaceThinker's CellGamestate
- This SpaceThinkerState's SpaceThinker's SpaceState