- cancelBindToCommand() - Method in class 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 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 cell2d.Frac
-
Returns the smallest fracunit-scale integer that is greater than or equal
to the specified fracunit-scale number.
- cell2d - package cell2d
-
- cell2d.space - package cell2d.space
-
- CellGame - Class in cell2d
-
A CellGame is a game made with Cell2D.
- CellGame(String, int, int, int, int, double, boolean, String) - Constructor for class cell2d.CellGame
-
Creates a new CellGame.
- CellGameState<T extends CellGame,U extends CellGameState<T,U,V>,V extends Thinker<T,U,V>> - Class in cell2d
-
A CellGameState represents one state that a CellGame can be in, such as
the main menu, the options menu, in the middle of a level, etc.
- CellGameState(T, int) - Constructor for class cell2d.CellGameState
-
Creates a new CellGameState of the specified CellGame with the specified
ID.
- CellVector - Class in cell2d
-
A CellVector represents a point in continuous space as a two-dimensional
vector.
- CellVector() - Constructor for class cell2d.CellVector
-
Creates a new CellVector that represents the origin.
- CellVector(CellVector) - Constructor for class cell2d.CellVector
-
Creates a new CellVector that represents the specified point.
- CellVector(long, long) - Constructor for class cell2d.CellVector
-
Creates a new CellVector that represents the specified point.
- CellVector(double) - Constructor for class cell2d.CellVector
-
Creates a new CellVector that represents the point on the unit circle at
the specified angle from the origin.
- changeAngle(double) - Method in class cell2d.CellVector
-
Changes this CellVector's angle by the specified amount while retaining
its magnitude.
- changeAngle(double) - Method in class cell2d.space.SpaceObject
-
Changes this SpaceObject's angle of rotation by the specified amount.
- changePosition(CellVector, boolean) - Method in class cell2d.space.MobileObject
-
Changes this MobileObject's position by the specified amount.
- changePosition(long, long, boolean) - Method in class cell2d.space.MobileObject
-
Changes the coordinates of this MobileObject's position by the specified
amounts.
- changePosition(CellVector) - Method in class cell2d.space.SpaceObject
-
Changes this SpaceObject's position by the specified amount.
- changePosition(long, long) - Method in class cell2d.space.SpaceObject
-
Changes the coordinates of this SpaceObject's position by the specified
amounts.
- changeRelAngle(double) - Method in class cell2d.space.Hitbox
-
Changes this Hitbox's relative angle of rotation by the specified amount.
- changeRelPosition(CellVector) - Method in class cell2d.space.Hitbox
-
Changes this Hitbox's relative position by the specified amount.
- changeRelPosition(long, long) - Method in class cell2d.space.Hitbox
-
Changes the coordinates of this Hitbox's relative position by the
specified amounts.
- changeRelX(long) - Method in class cell2d.space.Hitbox
-
Changes the x-coordinate of this Hitbox's relative position by the
specified amount.
- changeRelY(long) - Method in class cell2d.space.Hitbox
-
Changes the y-coordinate of this Hitbox's relative position by the
specified amount.
- changeStep(CellVector) - Method in class cell2d.space.MobileObject
-
Changes this MobileObject's step by the specified amount.
- changeStep(long, long) - Method in class cell2d.space.MobileObject
-
Changes this MobileObject's step by the specified amount.
- changeStepX(long) - Method in class cell2d.space.MobileObject
-
Changes the x-component of this MobileObject's step by the specified
amount.
- changeStepY(long) - Method in class cell2d.space.MobileObject
-
Changes the y-component of this MobileObject's step by the specified
amount.
- changeX(long, boolean) - Method in class cell2d.space.MobileObject
-
Changes the x-coordinate of this MobileObject's position by the specified
amount.
- changeX(long) - Method in class cell2d.space.SpaceObject
-
Changes the x-coordinate of this SpaceObject's position by the specified
amount.
- changeY(long, boolean) - Method in class cell2d.space.MobileObject
-
Changes the y-coordinate of this MobileObject's position by the specified
amount.
- changeY(long) - Method in class cell2d.space.SpaceObject
-
Changes the y-coordinate of this SpaceObject's position by the specified
amount.
- charDeletedActions(T, char) - Method in class cell2d.CellGameState
-
Actions for this CellGameState to take immediately after a character is
deleted from its CellGame's typed String.
- charTypedActions(T, char) - Method in class cell2d.CellGameState
-
Actions for this CellGameState to take immediately after a character is
typed to its CellGame's typed String.
- CircleHitbox<T extends CellGame> - Class in cell2d.space
-
A CircleHitbox is a circular Hitbox with its origin at its center.
- CircleHitbox(CellVector, long) - Constructor for class cell2d.space.CircleHitbox
-
Creates a new CircleHitbox with the specified relative position and
radius.
- CircleHitbox(long, long, long) - Constructor for class cell2d.space.CircleHitbox
-
Creates a new CircleHitbox with the specified relative position and
radius.
- clear() - Method in class cell2d.CellVector
-
Resets this CellVector to represent the origin.
- clearAnimInstances() - Method in class cell2d.CellGameState
-
Removes from this CellGameState all AnimationInstances that are currently
assigned to it, with or without IDs.
- clearAnimInstances() - Method in class cell2d.space.SpaceObject
-
Removes from this SpaceObject all AnimationInstances that are currently
assigned to it.
- clearComponents() - Method in class cell2d.space.CompositeHitbox
-
Removes all of this CompositeHitbox's component Hitboxes from it.
- clearControls(int) - Method in class cell2d.CellGame
-
Unbinds all of the specified command's controls from it.
- clearEmptyCells() - Method in class cell2d.space.SpaceState
-
Removes any cells that no longer have SpaceObjects in them, freeing up
the memory that they occupied.
- clearFollowers() - Method in class cell2d.space.MobileObject
-
Removes all of this MobileObject's followers from it.
- clearLayers() - Method in class cell2d.space.SpaceState
-
Removes from this SpaceState all SpaceLayers that are currently assigned
to it.
- clearVertices() - Method in class cell2d.space.PolygonHitbox
-
Removes all of this PolygonHitbox's vertices.
- clearViewports() - Method in class cell2d.space.SpaceState
-
Removes from this SpaceState all Viewports that are currently assigned to
it.
- close() - Method in class cell2d.CellGame
-
Instructs this CellGame to close itself the next time it finishes a game
logic update.
- collide(SpaceObject<T>, Direction) - Method in class 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 cell2d.space.MobileObject
-
Returns whether this MobileObject collided with any solid surfaces during
its last movement.
- collided(Direction) - Method in class cell2d.space.MobileObject
-
Returns whether this MobileObject collided with any solid surfaces in the
specified Direction during its last movement.
- CollisionResponse - Enum in cell2d.space
-
A CollisionResponse is a possible response that a ThinkerObject can have
to colliding with a solid surface.
- ColorFilter - Class in 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 cell2d.ColorFilter
-
Creates a new ColorFilter that uses the specified Color.
- ColorFilter(int, int, int, int) - Constructor for class cell2d.ColorFilter
-
Creates a new ColorFilter that uses a Color with the specified RGBA
value.
- ColorFilter(int, int, int) - Constructor for class cell2d.ColorFilter
-
Creates a new ColorFilter that uses a Color with the specified RGB value
and an alpha value of 255.
- ColorMapFilter - Class in 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 cell2d.ColorMapFilter
-
Creates a new ColorMapFilter that uses the specified Map.
- commandHeld(int) - Method in class cell2d.CellGame
-
Returns whether the specified command is being held this frame.
- commandPressed(int) - Method in class cell2d.CellGame
-
Returns whether the specified command was pressed this frame; that is,
whether it transitioned from not being held to being held.
- commandReleased(int) - Method in class cell2d.CellGame
-
Returns whether the specified command was released this frame; that is,
whether it transitioned from being held to not being held.
- CompositeHitbox<T extends CellGame> - Class in 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 cell2d.space.CompositeHitbox
-
Creates a new CompositeHitbox with the specified relative position.
- CompositeHitbox(long, long) - Constructor for class cell2d.space.CompositeHitbox
-
Creates a new CompositeHitbox with the specified relative position.
- cross(CellVector) - Method in class cell2d.CellVector
-
Returns the magnitude in fracunits of the cross product of this
CellVector and the specified one.