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

C

cancelBindToCommand() - Method in class org.cell2d.CellGame
Cancels this CellGame's instruction to bind the next valid Control pressed to a specified command, if it has been instructed to do so.
cancelTypingString() - Method in class org.cell2d.CellGame
Instructs this CellGame to stop interpreting inputs as typing a String, if it was doing so, and consider the typing canceled.
ceil(long) - Static method in class org.cell2d.Frac
Returns the smallest fracunit-scale integer that is greater than or equal to the specified fracunit-scale number.
CellGame - Class in org.cell2d
A CellGame is a game made with Cell2D.
CellGame(String, int, int, int, int, double, boolean, String) - Constructor for class org.cell2d.CellGame
Constructs a CellGame.
CellVector - Class in org.cell2d
A CellVector represents a point in continuous space as a two-dimensional vector.
CellVector() - Constructor for class org.cell2d.CellVector
Constructs a CellVector that represents the origin.
CellVector(CellVector) - Constructor for class org.cell2d.CellVector
Constructs a CellVector that represents the specified point.
CellVector(long, long) - Constructor for class org.cell2d.CellVector
Constructs a CellVector that represents the specified point.
CellVector(double) - Constructor for class org.cell2d.CellVector
Constructs a CellVector that represents the point on the unit circle at the specified angle from the origin.
changeAngle(double) - Method in class org.cell2d.CellVector
Changes this CellVector's angle by the specified amount while retaining its magnitude.
changeAngle(double) - Method in class org.cell2d.space.SpaceObject
Changes this SpaceObject's angle of rotation by the specified amount.
changePosition(CellVector, boolean) - Method in class org.cell2d.space.MobileObject
Changes this MobileObject's position by the specified amount.
changePosition(long, long, boolean) - Method in class org.cell2d.space.MobileObject
Changes the coordinates of this MobileObject's position by the specified amounts.
changePosition(CellVector) - Method in class org.cell2d.space.SpaceObject
Changes this SpaceObject's position by the specified amount.
changePosition(long, long) - Method in class org.cell2d.space.SpaceObject
Changes the coordinates of this SpaceObject's position by the specified amounts.
changeRelAngle(double) - Method in class org.cell2d.space.Hitbox
Changes this Hitbox's relative angle of rotation by the specified amount.
changeRelPosition(CellVector) - Method in class org.cell2d.space.Hitbox
Changes this Hitbox's relative position by the specified amount.
changeRelPosition(long, long) - Method in class org.cell2d.space.Hitbox
Changes the coordinates of this Hitbox's relative position by the specified amounts.
changeRelX(long) - Method in class org.cell2d.space.Hitbox
Changes the x-coordinate of this Hitbox's relative position by the specified amount.
changeRelY(long) - Method in class org.cell2d.space.Hitbox
Changes the y-coordinate of this Hitbox's relative position by the specified amount.
changeStep(CellVector) - Method in class org.cell2d.space.MobileObject
Changes this MobileObject's step by the specified amount.
changeStep(long, long) - Method in class org.cell2d.space.MobileObject
Changes this MobileObject's step by the specified amount.
changeStepX(long) - Method in class org.cell2d.space.MobileObject
Changes the x-component of this MobileObject's step by the specified amount.
changeStepY(long) - Method in class org.cell2d.space.MobileObject
Changes the y-component of this MobileObject's step by the specified amount.
changeX(long, boolean) - Method in class org.cell2d.space.MobileObject
Changes the x-coordinate of this MobileObject's position by the specified amount.
changeX(long) - Method in class org.cell2d.space.SpaceObject
Changes the x-coordinate of this SpaceObject's position by the specified amount.
changeY(long, boolean) - Method in class org.cell2d.space.MobileObject
Changes the y-coordinate of this MobileObject's position by the specified amount.
changeY(long) - Method in class org.cell2d.space.SpaceObject
Changes the y-coordinate of this SpaceObject's position by the specified amount.
charDeletedActions(T, char) - Method in class org.cell2d.GameState
Actions for this GameState to take immediately after a character is deleted from its CellGame's typed String.
charTypedActions(T, char) - Method in class org.cell2d.GameState
Actions for this GameState to take immediately after a character is typed to its CellGame's typed String.
CircleHitbox - Class in org.cell2d.space
A CircleHitbox is a circular Hitbox with its origin at its center.
CircleHitbox(CellVector, long) - Constructor for class org.cell2d.space.CircleHitbox
Constructs a CircleHitbox with the specified relative position and radius.
CircleHitbox(long, long, long) - Constructor for class org.cell2d.space.CircleHitbox
Constructs a CircleHitbox with the specified relative position and radius.
clear() - Method in class org.cell2d.CellVector
Resets this CellVector to represent the origin.
clear() - Method in class org.cell2d.util.ArrayMap
 
clear() - Method in class org.cell2d.util.ArraySet
 
clearAnimInstances() - Method in class org.cell2d.GameState
Removes from this GameState all AnimationInstances that are currently assigned to it, with or without IDs.
clearAnimInstances() - Method in class org.cell2d.space.SpaceObject
Removes from this SpaceObject all AnimationInstances that are currently assigned to it.
clearAssets() - Method in class org.cell2d.space.map.TiledConverter
Removes all of this TiledConverter's cached pointers to the assets that it has converted from Tiled resources.
clearComponents() - Method in class org.cell2d.space.CompositeHitbox
Removes all of this CompositeHitbox's component Hitboxes from it.
clearControls(int) - Method in class org.cell2d.CellGame
Unbinds all of the specified command's Controls from it.
clearEmptyCells() - Method in class org.cell2d.space.SpaceState
Removes any cells that no longer have SpaceObjects in them, freeing up the memory that they occupied.
clearFollowers() - Method in class org.cell2d.space.MobileObject
Removes all of this MobileObject's followers from it.
clearLayers() - Method in class org.cell2d.space.SpaceState
Removes from this SpaceState all SpaceLayers that are currently assigned to it.
clearLineages() - Method in class org.cell2d.space.ThinkerObject
Removes from their super-Thinkers all of the SpaceThinkers that are directly or indirectly assigned to this Thinker.
clearLineages() - Method in class org.cell2d.Thinker
Removes from their super-Thinkers all of the SubThinkers that are directly or indirectly assigned to this Thinker.
clearMusic() - Method in class org.cell2d.CellGame
Removes from this CellGame's music stack all Music tracks assigned to any priority, leaving the stack empty.
clearObjects() - Method in class org.cell2d.space.SpaceState
Removes from this SpaceState all of the SpaceObjects that are currently assigned to it.
clearSubThinkers() - Method in class org.cell2d.space.ThinkerObject
Removes from this ThinkerObject all of the SpaceThinkers that are currently assigned to it.
clearSubThinkers() - Method in class org.cell2d.Thinker
Removes from this Thinker all of the SubThinkers that are currently assigned to it.
clearVertices() - Method in class org.cell2d.space.PolygonHitbox
Removes all of this PolygonHitbox's vertices.
clearViewports() - Method in class org.cell2d.space.SpaceState
Removes from this SpaceState all Viewports that are currently assigned to it.
clockwise() - Method in enum org.cell2d.Direction
Returns the Direction 90 degrees clockwise from this one.
close() - Method in class org.cell2d.CellGame
Instructs this CellGame to close itself the next time it finishes a game logic update.
collide(SpaceObject, Direction) - Method in class org.cell2d.space.MobileObject
This MobileObject's response to colliding with a solid surface of the specified SpaceObject in the specified Direction.
collided() - Method in class org.cell2d.space.MobileObject
Returns whether this MobileObject collided with any solid surfaces during its last movement.
collided(Direction) - Method in class org.cell2d.space.MobileObject
Returns whether this MobileObject collided with any solid surfaces in the specified Direction during its last movement.
CollisionResponse - Enum in org.cell2d.space
A CollisionResponse is a possible response that a MobileObject can have to colliding with a solid surface.
Color - Class in org.cell2d
A Color represents a color in RGBA format.
Color(float, float, float, float) - Constructor for class org.cell2d.Color
Constructs a Color with the specified RGBA values.
Color(float, float, float) - Constructor for class org.cell2d.Color
Constructs a Color with the specified RGB values and an alpha value of 1.
Color(int, int, int, int) - Constructor for class org.cell2d.Color
Constructs a Color with the specified RGBA values, given as integers from 0 to 255.
Color(int, int, int) - Constructor for class org.cell2d.Color
Constructs a Color with the specified RGB values, given as integers from 0 to 255, and an alpha value of 1.
Color(Color) - Constructor for class org.cell2d.Color
Constructs a Color that shares the RGBA values of the specified java.awt.Color.
ColorFilter - Class in org.cell2d
A ColorFilter is a Filter that blends the RGB value of each pixel in the original image with that of a single Color that it uses.
ColorFilter(Color) - Constructor for class org.cell2d.ColorFilter
Constructs a ColorFilter that uses the specified Color.
ColorMapFilter - Class in org.cell2d
A ColorMapFilter is a Filter that uses a Map<Color,Color> to replace some RGB values with others in the filtered image.
ColorMapFilter(Map<Color, Color>) - Constructor for class org.cell2d.ColorMapFilter
Constructs a ColorMapFilter that uses a copy of the specified Map.
ColorMapFilter(Color, Color) - Constructor for class org.cell2d.ColorMapFilter
Constructs a ColorMapFilter with a Map that maps the specified key Color to the specified value Color.
ColorMultiplyFilter - Class in org.cell2d
A ColorMultiplyFilter is a Filter that multiplies the red, green, blue, and alpha values of each pixel in the original image with those of a single Color that it uses.
ColorMultiplyFilter(Color) - Constructor for class org.cell2d.ColorMultiplyFilter
Constructs a ColorMultiplyFilter that uses the specified Color.
ColorSpaceLayer - Class in org.cell2d.space
A ColorSpaceLayer is a type of SpaceLayer that fills the rendering region with a single Color.
ColorSpaceLayer(Color) - Constructor for class org.cell2d.space.ColorSpaceLayer
Constructs a ColorSpaceLayer that displays the specified Color.
commandHeld(int) - Method in class org.cell2d.CellGame
Returns whether the specified command is being held this frame.
commandPressed(int) - Method in class org.cell2d.CellGame
Returns whether the specified command was pressed this frame.
commandReleased(int) - Method in class org.cell2d.CellGame
Returns whether the specified command was released this frame.
CompositeHitbox - Class in org.cell2d.space
A CompositeHitbox is a Hitbox that is composed of other Hitboxes whose positions, flipped statuses, and angles of rotation are all relative to those of the CompositeHitbox itself.
CompositeHitbox(CellVector) - Constructor for class org.cell2d.space.CompositeHitbox
Constructs a CompositeHitbox with the specified relative position.
CompositeHitbox(long, long) - Constructor for class org.cell2d.space.CompositeHitbox
Constructs a CompositeHitbox with the specified relative position.
contains(Object) - Method in class org.cell2d.util.ArraySet
 
containsAll(Collection<?>) - Method in class org.cell2d.util.ArraySet
 
containsKey(Object) - Method in class org.cell2d.util.ArrayMap
 
containsValue(Object) - Method in class org.cell2d.util.ArrayMap
 
Control - Class in org.cell2d.control
A Control represents a form of input that can be pressed, held, and released, such as a key, mouse button, or controller button.
Control() - Constructor for class org.cell2d.control.Control
 
ControllerButtonControl - Class in org.cell2d.control
A ControllerButtonControl is a ControllerControl that represents a button on a game controller.
ControllerButtonControl(int, int) - Constructor for class org.cell2d.control.ControllerButtonControl
Constructs a ControllerButtonControl that represents the button with the specified number on the controller with the specified number.
ControllerControl - Class in org.cell2d.control
A ControllerControl is a Control that represents an input on a game controller.
ControllerControl(int) - Constructor for class org.cell2d.control.ControllerControl
Constructs a ControllerControl that represents an input on the controller with the specified number.
ControllerDirectionControl - Class in org.cell2d.control
A ControllerDirectionControl is a ControllerControl that represents a Direction - up, down, left, or right - in which the primary axes of a game controller can be moved.
ControllerDirectionControl(int, Direction) - Constructor for class org.cell2d.control.ControllerDirectionControl
Constructs a ControllerDirectionControl that represents the specified Direction on the primary axes of the controller with the specified number.
counterclockwise() - Method in enum org.cell2d.Direction
Returns the Direction 90 degrees counterclockwise from this one.
cover() - Method in class org.cell2d.space.map.ArrayTileGrid
 
cover() - Method in class org.cell2d.space.map.HashTileGrid
 
cover() - Method in class org.cell2d.space.map.TileGrid
Returns a list of non-overlapping rectangles that collectively overlap or "cover" all and only the grid cells in this TileGrid that are occupied by tiles.
cover() - Method in class org.cell2d.space.map.TileGridObject
Returns a list of non-overlapping RectangleHitboxes, representing regions of the space in which this TileGridObject exists, that collectively overlap or "cover" all and only the grid cells in this TileGridObject's TileGrid that are occupied by tiles.
coverObjects(int, int, Object[][]) - Static method in class org.cell2d.space.map.TileGrid
Returns a list of non-overlapping rectangles that collectively overlap or "cover" all and only the non-null locations in the specified 2D object array.
coverPoints(Set<Point>) - Static method in class org.cell2d.space.map.TileGrid
Returns a list of non-overlapping rectangles that collectively overlap or "cover" all and only the points in the specified set.
cross(CellVector) - Method in class org.cell2d.CellVector
Returns the non-zero component in fracunits of the cross product of this CellVector and the specified one.
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links