- RectangleHitbox<T extends CellGame> - Class in cell2d.space
-
A RectangleHitbox is a rectangular Hitbox with sides that remain
orthogonal regardless of its angle of rotation.
- RectangleHitbox(CellVector, long, long, long, long) - Constructor for class cell2d.space.RectangleHitbox
-
Creates a new RectangleHitbox with the specified relative position and
dimensions.
- RectangleHitbox(long, long, long, long, long, long) - Constructor for class cell2d.space.RectangleHitbox
-
Creates a new RectangleHitbox with the specified relative position and
dimensions.
- rectangleIsVisible(long, long, long, long) - Method in class cell2d.space.SpaceState
-
Returns whether any part of the specified rectangular region of this
SpaceState's space is visible through any of its Viewports.
- rectangleIsVisible(long, long, long, long) - Method in class cell2d.space.Viewport
-
Returns whether any part of the specified rectangular region of a
SpaceState's space is visible through this Viewport.
- regularPolygon(long, long, int, long, double) - Static method in class cell2d.space.PolygonHitbox
-
Returns a new PolygonHitbox in the shape of a regular polygon.
- relativeTo(Hitbox) - Method in class cell2d.CellVector
-
Flips this CellVector to reflect the flipped status of the specified
Hitbox and rotates it to reflect the Hitbox's angle of rotation, as if
those properties were formerly relative to the Hitbox.
- relativeTo(SpaceObject) - Method in class cell2d.CellVector
-
Flips this CellVector to reflect the flipped status of the specified
SpaceObject and rotates it to reflect the SpaceObject's angle of
rotation, as if those properties were formerly relative to the
SpaceObject.
- relFlipX() - Method in class cell2d.space.Hitbox
-
Flips this Hitbox relatively horizontally, making it flipped if it was
not before and not flipped if it was before.
- relFlipY() - Method in class cell2d.space.Hitbox
-
Flips this Hitbox relatively vertically, making it flipped if it was not
before and not flipped if it was before.
- removeAboveLine(long) - Method in class cell2d.space.SpaceState
-
Removes from this SpaceState all of its SpaceObjects that exist entirely
above the specified horizontal line.
- removeAllMusic() - Method in class cell2d.CellGame
-
Removes from this CellGame's music stack all Music tracks assigned to any
priority.
- removeAllObjects() - Method in class cell2d.space.SpaceState
-
Removes from this SpaceState all of the SpaceObjects that are currently
assigned to it.
- removeAllSubThinkers() - Method in class cell2d.space.ThinkerObject
-
Removes from their ThinkerGroups all of the SpaceThinkers that are
directly or indirectly assigned to this ThinkerObject.
- removeAllSubThinkers() - Method in class cell2d.ThinkerGroup
-
Removes from their ThinkerGroups all of the Thinkers that are directly or
indirectly assigned to this ThinkerGroup.
- removeAllThinkers() - Method in class cell2d.space.ThinkerObject
-
Removes from this ThinkerObject all of the SpaceThinkers that are
currently assigned to it.
- removeAllThinkers() - Method in class cell2d.ThinkerGroup
-
Removes from this ThinkerGroup all of the Thinkers that are currently
assigned to it.
- removeAnimInstance(AnimationInstance) - Method in class cell2d.CellGameState
-
Removes the specified AnimationInstance from this CellGameState if it
is currently assigned to this CellGameState.
- removeBelowLine(long) - Method in class cell2d.space.SpaceState
-
Removes from this SpaceState all of its SpaceObjects that exist entirely
below the specified horizontal line.
- removedActions(T, SpaceState<T>) - Method in class cell2d.space.ThinkerObject
-
Actions for this ThinkerObject to take immediately before being removed
from its current SpaceState.
- removedActions(T, U) - Method in class cell2d.Thinker
-
Actions for this Thinker to take before being removed from its current
ThinkerGroup, immediately before the ThinkerGroup takes its
removeThinkerActions().
- removeFollower(MobileObject) - Method in class cell2d.space.MobileObject
-
Removes the specified MobileObject as this MobileObject's follower if
this MobileObject is its leader.
- removeLeftOfLine(long) - Method in class cell2d.space.SpaceState
-
Removes from this SpaceState all of its SpaceObjects that exist entirely
to the left of the specified vertical line.
- removeLineage(SpaceThinker<T>) - Method in class cell2d.space.ThinkerObject
-
Removes from their ThinkerGroups all of the SpaceThinkers that are
directly or indirectly assigned to this ThinkerObject, and are either
assigned to or assignees of the specified SpaceThinker.
- removeLineage(V) - Method in class cell2d.ThinkerGroup
-
Removes from their ThinkerGroups all of the Thinkers that are directly or
indirectly assigned to this ThinkerGroup, and are either assigned to or
assignees of the specified Thinker.
- removeMusic(int, Music) - Method in class cell2d.CellGame
-
Removes the specified Music track from the specified priority in this
CellGame's music stack if it is currently assigned to that priority.
- removeMusic(int) - Method in class cell2d.CellGame
-
Removes from the specified priority in this CellGame's music stack all of
the Music tracks currently assigned to it.
- removeMusic(Music) - Method in class cell2d.CellGame
-
Removes the specified Music track from the greatest priority in this
CellGame's music stack if it is currently assigned to that priority.
- removeMusic() - Method in class cell2d.CellGame
-
Removes from the greatest priority in this CellGame's music stack all of
the Music tracks currently assigned to it, if the music stack is not
empty.
- removeObject(SpaceObject<T>) - Method in class cell2d.space.SpaceState
-
Removes the specified SpaceObject from this SpaceState if it is currently
assigned to it.
- removeOutsideRectangle(long, long, long, long) - Method in class cell2d.space.SpaceState
-
Removes from this SpaceState all of its SpaceObjects that exist entirely
outside the specified rectangular region.
- removeRectangle(long, long, long, long) - Method in class cell2d.space.SpaceState
-
Removes from this SpaceState all of its SpaceObjects that exist entirely
inside the specified rectangular region.
- removeRightOfLine(long) - Method in class cell2d.space.SpaceState
-
Removes from this SpaceState all of its SpaceObjects that exist entirely
to the right of the specified vertical line.
- removeThinker(SpaceThinker<T>) - Method in class cell2d.space.ThinkerObject
-
Removes the specified SpaceThinker from this ThinkerObject if it is
currently assigned to it.
- removeThinker(V) - Method in class cell2d.ThinkerGroup
-
Removes the specified Thinker from this ThinkerGroup if it is currently
assigned to it.
- removeThinkerActions(V) - Method in class cell2d.CellGameState
-
- removeThinkerActions(T, V) - Method in class cell2d.CellGameState
-
Actions for this CellGameState to take immediately before removing a
Thinker from itself.
- removeThinkerActions(V) - Method in class cell2d.Thinker
-
- removeThinkerActions(T, U, V) - Method in class cell2d.Thinker
-
Actions for this ThinkerGroup to take immediately before removing a
Thinker from itself, after the soon-to-be-removed Thinker takes its
removedActions().
- removeThinkerActions(V) - Method in class cell2d.ThinkerGroup
-
Actions for this ThinkerGroup to take immediately before removing a
Thinker from itself, after the Thinker takes its removedActions().
- removeVertex(int) - Method in class cell2d.space.PolygonHitbox
-
Removes this PolygonHitbox's vertex at the specified index.
- renderActions(Graphics, int, int, int, int) - Method in class cell2d.CellGame
-
Actions for this CellGame to take each frame to render visuals after its
current CellGameState has finished rendering.
- renderActions(T, Graphics, int, int, int, int) - Method in class cell2d.CellGameState
-
Actions for this CellGameState to take each frame to render its visuals.
- renderActions(T, SpaceState<T>, Graphics, int, int, int, int) - Method in class cell2d.space.HUD
-
Actions for this HUD to take to render its visuals.
- renderActions(T, SpaceState<T>, Graphics, long, long, int, int, int, int) - Method in class cell2d.space.SpaceLayer
-
Actions for this SpaceLayer to take to render its visuals through a
Viewport's camera.
- renderActions(T, Graphics, int, int, int, int) - Method in class cell2d.space.SpaceState
-
- renderLoadingVisuals(Graphics, int, int, int, int) - Method in class cell2d.CellGame
-
Renders the visuals that this CellGame will display while its
initActions() are in progress.
- resume() - Method in class cell2d.Music
-
Resumes playing this Music track if it currently paused.
- round(long) - Static method in class cell2d.Frac
-
Returns the specified number rounded to the nearest fracunit.