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

A

actions(T, U) - Method in interface org.cell2d.Event
Actions that this Event consists in taking.
add(CellVector) - Method in class org.cell2d.CellVector
Adds the specified CellVector to this CellVector.
add(long, long) - Method in class org.cell2d.CellVector
Adds the specified coordinates to this CellVector's own.
add(CellVector, CellVector) - Static method in class org.cell2d.CellVector
Returns a new CellVector that represents the sum of the two specified CellVectors.
add(Event<T, U>, int) - Method in class org.cell2d.EventGroup
Adds to this EventGroup one instance of the specified Event at the specified priority.
add(E) - Method in class org.cell2d.util.ArraySet
 
addAll(Collection<? extends E>) - Method in class org.cell2d.util.ArraySet
 
addAnimInstance(AnimationInstance) - Method in class org.cell2d.GameState
Adds the specified AnimationInstance to this GameState without an ID, if it is not already assigned to a GameState.
addAnimInstance(Animation) - Method in class org.cell2d.GameState
Adds a new AnimationInstance of the specified Animation to this GameState without an ID.
addAnimInstance(AnimationInstance) - Method in class org.cell2d.space.SpaceObject
Adds the specified AnimationInstance to this SpaceObject without an ID, if it is not already assigned to a GameState.
addAnimInstance(Animation) - Method in class org.cell2d.space.SpaceObject
Adds a new AnimationInstance of the specified Animation to this SpaceObject without an ID.
addedActions(CellGame, BasicSpaceState) - Method in class org.cell2d.space.basic.BasicThinkerObject
Actions for this BasicThinkerObject to take immediately after being added to a new BasicSpaceState.
addedActions(T, U) - Method in class org.cell2d.SubThinker
Actions for this SubThinker to take after being added to a new super-Thinker, immediately after the super-Thinker takes its addSubThinkerActions().
addFollower(MobileObject) - Method in class org.cell2d.space.MobileObject
Adds the specified MobileObject as this MobileObject's follower if it does not have a leader already, and if doing so would not create a loop of followers in which MobileObjects directly or indirectly follow themselves.
addMusic(int, Music, boolean, boolean) - Method in class org.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 org.cell2d.CellGame
Adds the specified Music track to the specified priority in this CellGame's music stack.
addMusic(int, Music, boolean) - Method in class org.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 org.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 org.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 org.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 org.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 org.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) - Method in class org.cell2d.space.SpaceState
Adds the specified SpaceObject to this SpaceState if it is not already assigned to a SpaceState.
addSubThinker(V) - Method in class org.cell2d.space.ThinkerObject
Adds the specified SpaceThinker to this ThinkerObject if it is not already assigned to a Thinker, and if doing so would not create a loop of assignments in which SpaceThinkers are directly or indirectly assigned to themselves.
addSubThinker(V) - Method in class org.cell2d.Thinker
Adds the specified SubThinker to this Thinker if it is not already assigned to a Thinker, and if doing so would not create a loop of assignments in which SubThinkers are directly or indirectly assigned to themselves.
addSubThinkerActions(CellGame, BasicSpaceState, BasicSpaceThinker) - Method in class org.cell2d.space.basic.BasicThinkerObject
Actions for this BasicThinkerObject to take immediately after adding a BasicSpaceThinker to itself, before the added BasicSpaceThinker takes its addedActions().
addSubThinkerActions(T, U, V) - Method in class org.cell2d.space.SpaceState
 
addSubThinkerActions(T, U, V) - Method in class org.cell2d.space.SpaceThinker
 
addSubThinkerActions(T, U, V) - Method in class org.cell2d.Thinker
Actions for this Thinker to take immediately after adding a SubThinker to itself, before the added SubThinker takes its addedActions().
addVertex(CellVector) - Method in class org.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 org.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 org.cell2d.space.PolygonHitbox
Adds the specified relative vertex to this PolygonHitbox at the specified index.
addVertex(int, long, long) - Method in class org.cell2d.space.PolygonHitbox
Adds the specified relative vertex to this PolygonHitbox at the specified index.
angleBetween(long, long, long, long) - Static method in class org.cell2d.CellVector
Returns the angle from the point (x1, y1) to the point (x2, y2).
angleTo(CellVector) - Method in class org.cell2d.CellVector
Returns the angle from this CellVector's point to that of the specified CellVector.
angleTo(Hitbox) - Method in class org.cell2d.space.Hitbox
Returns the absolute angle from this Hitbox's position to the specified Hitbox's position.
angleTo(SpaceObject) - Method in class org.cell2d.space.SpaceObject
Returns the angle from this SpaceObject's center to the specified SpaceObject's center.
Animatable - Interface in org.cell2d
An Animatable object is one that may be incorporated into an Animation as one of its frames.
Animation - Class in org.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 org.cell2d.Animation
Constructs an Animation with the specified Animatable object, duration 0, as its only frame.
Animation(Animatable...) - Constructor for class org.cell2d.Animation
Constructs an Animation with the specified sequence of Animatable objects as its frames.
Animation(Animatable[], long...) - Constructor for class org.cell2d.Animation
Constructs an Animation out of the Animatable objects in the specified array of frames.
Animation(SpriteSheet, int, int, int, int, boolean) - Constructor for class org.cell2d.Animation
Constructs 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 org.cell2d.Animation
Constructs an Animation with the Sprites in a rectangular region of a SpriteSheet as its frames.
AnimationInstance - Class in org.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 org.cell2d.AnimationInstance
Constructs an AnimationInstance of the specified Animation.
Area<T extends CellGame,U extends SpaceState<T,U,?>> - Interface in org.cell2d.space
An Area is a pattern of SpaceObjects that can be generated and loaded by a SpaceState on demand.
ArrayMap<K,V> - Class in org.cell2d.util
An ArrayMap is a Map implemented as a resizable array, just like that of an ArrayList.
ArrayMap(int) - Constructor for class org.cell2d.util.ArrayMap
Constructs an empty ArrayMap with the specified initial capacity.
ArrayMap() - Constructor for class org.cell2d.util.ArrayMap
Constructs an empty ArrayMap with an initial capacity of 10.
ArrayMap(Map<? extends K, ? extends V>) - Constructor for class org.cell2d.util.ArrayMap
Constructs an ArrayMap with the same mappings as the specified Map.
ArraySet<E> - Class in org.cell2d.util
An ArraySet is a Set implemented as a resizable array, just like that of an ArrayList.
ArraySet(int) - Constructor for class org.cell2d.util.ArraySet
Constructs an empty ArraySet with the specified initial capacity.
ArraySet() - Constructor for class org.cell2d.util.ArraySet
Constructs an empty ArraySet with an initial capacity of 10.
ArraySet(Collection<? extends E>) - Constructor for class org.cell2d.util.ArraySet
Constructs an ArraySet containing the elements of the specified Collection.
ArrayTileGrid - Class in org.cell2d.space.map
An ArrayTileGrid is a type of TileGrid that stores its tile data in a rectangular two-dimensional array.
ArrayTileGrid(int, int, int, int) - Constructor for class org.cell2d.space.map.ArrayTileGrid
Constructs an ArrayTileGrid with all of its grid cells unoccupied by tiles, and with none of its tiles set to be flipped or rotated.
ArrayTileGrid(int, int, int, int, int, int) - Constructor for class org.cell2d.space.map.ArrayTileGrid
Constructs an ArrayTileGrid with all of its grid cells unoccupied by tiles, and with none of its tiles set to be flipped or rotated.
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links