- Thinker<T extends CellGame,U extends CellGameState<T,U,V>,V extends Thinker<T,U,V>> - 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.
- ThinkerGroup<T extends CellGame,U extends CellGameState<T,U,V>,V extends Thinker<T,U,V>> - Class in cell2d
-
A ThinkerGroup is a group of Thinkers that can be iterated over.
- ThinkerGroup() - Constructor for class cell2d.ThinkerGroup
-
- thinkerIterator() - Method in class cell2d.space.ThinkerObject
-
Returns a new Iterator over this ThinkerObject's list of SpaceThinkers.
- thinkerIterator() - Method in class cell2d.ThinkerGroup
-
Returns a new Iterator over this ThinkerGroup's list of Thinkers.
- ThinkerObject<T extends CellGame> - Class in cell2d.space
-
A ThinkerObject is a MobileObject that acts like a SpaceThinker,
possessing timers, various actions in response to events, and the capacity to
act like a ThinkerGroup, even though it is not technically one.
- ThinkerObject(Hitbox<T>) - Constructor for class cell2d.space.ThinkerObject
-
Creates a new ThinkerObject with the specified locator Hitbox.
- ThinkerObject(CellVector) - Constructor for class cell2d.space.ThinkerObject
-
Creates a new ThinkerObject with a new PointHitbox at the specified
position as its locator Hitbox.
- ThinkerObject(long, long) - Constructor for class cell2d.space.ThinkerObject
-
Creates a new ThinkerObject with a new PointHitbox at the specified
position as its locator Hitbox.
- TimedEvent - 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 beforeMovementActions().
- 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 its CellGameState
takes its frameActions().
- 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
.