Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

add(String, Filter) - Static method in class cell2d.Assets
Adds the specified Filter to the list of Filters under the specified name.
add(String, Sprite) - Static method in class cell2d.Assets
Adds the specified Sprite to the list of Sprites under the specified name.
add(String, SpriteSheet) - Static method in class cell2d.Assets
Adds the specified SpriteSheet to the list of SpriteSheets under the specified name.
add(String, Animation) - Static method in class cell2d.Assets
Adds the specified Animation to the list of Animations under the specified name.
add(String, Sound) - Static method in class cell2d.Assets
Adds the specified Sound to the list of Sounds under the specified name.
add(String, Music) - Static method in class cell2d.Assets
Adds the specified Music track to the list of Music tracks under the specified name.
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, SpaceState<T>) - Method in class cell2d.space.Viewport
 
addedActions(T, U) - Method in class cell2d.Thinker
Actions for this Thinker to take immediately after being added to a new CellGameState.
addFollower(ThinkerObject) - Method in class cell2d.space.ThinkerObject
Adds the specified ThinkerObject as this ThinkerObject's follower if it does not have a leader already.
addObject(SpaceObject<T>) - Method in class cell2d.space.SpaceState
Adds the specified SpaceObject to this SpaceState if it is not already assigned to a levelState.
addRelVertex(int, CellVector) - Method in class cell2d.space.PolygonHitbox
Adds the specified relative vertex to this PolygonHitbox at the specified index.
addRelVertex(int, long, long) - Method in class cell2d.space.PolygonHitbox
Adds the specified relative vertex to this PolygonHitbox at the specified index.
addThinker(V) - Method in class cell2d.CellGameState
Adds the specified Thinker to this CellGameState if it is not already assigned to a CellGameState.
addThinkerActions(T, V) - Method in class cell2d.CellGameState
Actions for this CellGameState to take immediately after adding a Thinker to itself.
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.
afterMovementActions(T, SpaceState<T>) - Method in class cell2d.space.SpaceThinker
Actions for this SpaceThinker to take once every frame, after its SpaceState moves its assigned ThinkerObjects.
afterMovementActions(T, SpaceState<T>) - Method in class cell2d.space.SpaceThinkerState
Actions for this SpaceThinkerState to take once every frame, immediately before its SpaceThinker takes its own afterMovementActions().
afterMovementActions(T, SpaceState<T>) - Method in class cell2d.space.ThinkerObject
Actions for this ThinkerObject to take once every frame, after its SpaceState moves its assigned ThinkerObjects.
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
 
Assets - Class in cell2d
The Assets class stores references to Filters, Sprites, SpriteSheets, Animations, Sounds, and Music tracks under String names that are unique among each of those types of assets.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links