- add(CellVector) - Method in class cell2d.CellVector
-
Adds the specified CellVector to this CellVector.
- add(long, long) - Method in class cell2d.CellVector
-
Adds the specified coordinates to this CellVector's own.
- add(CellVector, CellVector) - Static method in class cell2d.CellVector
-
Returns a new CellVector that represents the sum of the two specified
CellVectors.
- addAnimInstance(AnimationInstance) - Method in class cell2d.CellGameState
-
Adds the specified AnimationInstance to this CellGameState if it is not
already assigned to a CellGameState.
- addAnimInstance(Animation) - Method in class cell2d.CellGameState
-
Adds a new AnimationInstance of the specified Animation to this
CellGameState.
- addedActions(T, SpaceState<T>) - Method in class cell2d.space.ThinkerObject
-
Actions for this ThinkerObject to take immediately after being added to a
new SpaceState.
- addedActions(T, U) - Method in class cell2d.Thinker
-
Actions for this Thinker to take after being added to a new ThinkerGroup,
immediately after the ThinkerGroup takes its addThinkerActions().
- addFollower(MobileObject) - Method in class cell2d.space.MobileObject
-
Adds the specified MobileObject as this MobileObject's follower if it
does not have a leader already.
- addMusic(int, Music, boolean, boolean) - Method in class cell2d.CellGame
-
Adds the specified Music track to the specified priority in this
CellGame's music stack.
- addMusic(int, Music, double, double, boolean, boolean) - Method in class cell2d.CellGame
-
Adds the specified Music track to the specified priority in this
CellGame's music stack.
- addMusic(int, Music, boolean) - Method in class cell2d.CellGame
-
Adds the specified Music track to the specified priority in this
CellGame's music stack, replacing and removing all other Music tracks
assigned to that priority.
- addMusic(int, Music, double, double, boolean) - Method in class cell2d.CellGame
-
Adds the specified Music track to the specified priority in this
CellGame's music stack, replacing and removing all other Music tracks
assigned to that priority.
- addMusic(Music, boolean, boolean) - Method in class cell2d.CellGame
-
Adds the specified Music track to the greatest priority in this
CellGame's music stack, or to priority 0 if the music stack is empty.
- addMusic(Music, double, double, boolean, boolean) - Method in class cell2d.CellGame
-
Adds the specified Music track to the greatest priority in this
CellGame's music stack, or to priority 0 if the music stack is empty.
- addMusic(Music, boolean) - Method in class cell2d.CellGame
-
Adds the specified Music track to the greatest priority in this
CellGame's music stack, replacing and removing all other Music tracks
assigned to that priority, or to priority 0 if the music stack is empty.
- addMusic(Music, double, double, boolean) - Method in class cell2d.CellGame
-
Adds the specified Music track to the greatest priority in this
CellGame's music stack, replacing and removing all other Music tracks
assigned to that priority, or to priority 0 if the music stack is empty.
- addObject(SpaceObject<T>) - Method in class cell2d.space.SpaceState
-
Adds the specified SpaceObject to this SpaceState if it is not already
assigned to a SpaceState.
- addThinker(SpaceThinker<T>) - Method in class cell2d.space.ThinkerObject
-
Adds the specified SpaceThinker to this ThinkerObject if it is not
already assigned to a ThinkerGroup.
- addThinker(V) - Method in class cell2d.ThinkerGroup
-
Adds the specified Thinker to this ThinkerGroup if it is not already
assigned to a ThinkerGroup, and if doing so would not create a loop of
assignments in which Thinkers are directly or indirectly assigned to
themselves.
- addThinkerActions(V) - Method in class cell2d.CellGameState
-
- addThinkerActions(T, V) - Method in class cell2d.CellGameState
-
Actions for this CellGameState to take immediately after adding a Thinker
to itself.
- addThinkerActions(V) - Method in class cell2d.Thinker
-
- addThinkerActions(T, U, V) - Method in class cell2d.Thinker
-
Actions for this Thinker to take immediately after adding a Thinker to
itself, before the added Thinker takes its addedActions().
- addThinkerActions(V) - Method in class cell2d.ThinkerGroup
-
Actions for this ThinkerGroup to take immediately after adding a Thinker
to itself, before the Thinker takes its addedActions().
- addVertex(CellVector) - Method in class cell2d.space.PolygonHitbox
-
Adds the specified relative vertex to this PolygonHitbox at the index
after its last one, between its last and first relative vertices.
- addVertex(long, long) - Method in class cell2d.space.PolygonHitbox
-
Adds the specified relative vertex to this PolygonHitbox at the index
after its last one, between its last and first relative vertices.
- addVertex(int, CellVector) - Method in class cell2d.space.PolygonHitbox
-
Adds the specified relative vertex to this PolygonHitbox at the specified
index.
- addVertex(int, long, long) - Method in class cell2d.space.PolygonHitbox
-
Adds the specified relative vertex to this PolygonHitbox at the specified
index.
- angleBetween(long, long, long, long) - Static method in class cell2d.CellVector
-
Returns the angle from the point (x1, y1) to the point (x2, y2).
- angleTo(CellVector) - Method in class cell2d.CellVector
-
Returns the angle from this CellVector's point to that of the specified
CellVector.
- angleTo(Hitbox) - Method in class cell2d.space.Hitbox
-
Returns the absolute angle from this Hitbox's position to the specified
Hitbox's position.
- angleTo(SpaceObject) - Method in class cell2d.space.SpaceObject
-
Returns the angle from this SpaceObject's center to the specified
SpaceObject's center.
- Animatable - Interface in cell2d
-
An Animatable object is one that may be incorporated into an Animation as
one of its frames.
- Animation - Class in cell2d
-
An Animation is a sequence of one or more Animatable frames that may be
instantiated in an AnimationInstance in order to be displayed one after
another and/or smoothly transitioned between.
- Animation(Animatable) - Constructor for class cell2d.Animation
-
Creates a new Animation with the specified Animatable object, duration 0,
as its only frame.
- Animation(Animatable[]) - Constructor for class cell2d.Animation
-
Creates a new Animation with the Animatable objects in the specified
array as its frames.
- Animation(Animatable[], long[]) - Constructor for class cell2d.Animation
-
Creates a new Animation out of the Animatable objects in the specified
array of frames.
- Animation(SpriteSheet, int, int, int, int, boolean) - Constructor for class cell2d.Animation
-
Creates an Animation with the Sprites in a rectangular region of a
SpriteSheet as its frames.
- Animation(SpriteSheet, int, int, int, int, boolean, long[]) - Constructor for class cell2d.Animation
-
Creates an Animation with the Sprites in a rectangular region of a
SpriteSheet as its frames.
- AnimationInstance - Class in cell2d
-
An AnimationInstance is an instance of an Animation that represents a
point in the Animation and rates at which that point progresses through the
Animation.
- AnimationInstance(Animation) - Constructor for class cell2d.AnimationInstance
-
Creates a new AnimationInstance of the specified Animation.
- Area<T extends CellGame> - Class in cell2d.space
-
An Area is a pattern of SpaceObjects that can be generated and loaded by a
SpaceState on demand.
- Area() - Constructor for class cell2d.space.Area
-