- Thinker<T extends CellGame,U extends CellGameState<T,U,V,W>,V extends Thinker<T,U,V,W>,W extends ThinkerState<T,U,V,W>> - Class in cell2d
-
A Thinker is a collection of methods that contributes to the mechanics of
the CellGameState to which it is assigned.
- Thinker() - Constructor for class cell2d.Thinker
-
Creates a new Thinker.
- thinkerIterator() - Method in class cell2d.CellGameState
-
Returns a new Iterator over this CellGameState's list of Thinkers.
- ThinkerObject<T extends CellGame> - Class in cell2d.space
-
A ThinkerObject is a SpaceObject that acts like a SpaceThinker, possessing
SpaceThinkerStates, timers, and various actions in response to events.
- ThinkerObject(Hitbox<T>) - Constructor for class cell2d.space.ThinkerObject
-
Creates a new ThinkerObject with the specified locator Hitbox.
- ThinkerObject(Hitbox<T>, SpaceObject<T>) - Constructor for class cell2d.space.ThinkerObject
-
Creates a new ThinkerObject with the specified locator Hitbox that acts
as if it was created by the specified SpaceObject, initially copying its
creator's time factor, flipped status, and angle of rotation.
- thinkerObjectIterator() - Method in class cell2d.space.SpaceState
-
Returns a new Iterator over this SpaceState's list of ThinkerObjects.
- ThinkerState<T extends CellGame,U extends CellGameState<T,U,V,W>,V extends Thinker<T,U,V,W>,W extends ThinkerState<T,U,V,W>> - Class in cell2d
-
A ThinkerState represents a state that a Thinker can occupy.
- ThinkerState() - Constructor for class cell2d.ThinkerState
-
- TimedEvent<T extends CellGameState> - Class in cell2d
-
A TimedEvent represents a set of actions that can be taken after a delay
managed by a Thinker.
- TimedEvent() - Constructor for class cell2d.TimedEvent
-
- timeUnitActions(T, SpaceState<T>) - Method in class cell2d.space.ThinkerObject
-
Actions for this ThinkerObject to take once every time unit, after
AnimationInstances update their indices but before SpaceThinkers take
their frameActions().
- timeUnitActions(T, U) - Method in class cell2d.Thinker
-
Actions for this Thinker to take once every time unit, after
AnimationInstances update their indices but before Thinkers take their
frameActions().
- timeUnitActions(CellGame, U) - Method in class cell2d.ThinkerState
-
Actions for this ThinkerState to take once every time unit, immediately
before its Thinker takes its own timeUnitActions().
- toDouble(long) - Static method in class cell2d.Frac
-
Returns the equivalent of the specified fracunit-scale number as a
double
.
- toInt(long) - Static method in class cell2d.Frac
-
Returns the equivalent of the specified fracunit-scale number, rounded to
the nearest fracunit, as an int
.