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

R

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 is visible through any of this SpaceState's Viewports.
rectangleIsVisible(long, long, long, long) - Method in class cell2d.space.Viewport
Returns whether any part of the specified rectangular region 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.
removeAllObjects() - Method in class cell2d.space.SpaceState
Removes from this SpaceState all of the SpaceObjects 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 SpaceState.
removedActions(T, SpaceState<T>) - Method in class cell2d.space.Viewport
 
removedActions(T, U) - Method in class cell2d.Thinker
Actions for this Thinker to take immediately before being removed from its CellGameState.
removeFollower(ThinkerObject) - Method in class cell2d.space.ThinkerObject
Removes the specified ThinkerObject as this ThinkerObject's follower if this ThinkerObject 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.
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(V) - Method in class cell2d.CellGameState
Removes the specified Thinker from this CellGameState if it is currently assigned to it.
removeThinkerActions(T, V) - Method in class cell2d.CellGameState
Actions for this CellGameState to take immediately before removing a Thinker from itself.
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 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
 
resumeMusic() - Method in class cell2d.CellGame
Resumes this CellGame's music if it is paused.
round(long) - Static method in class cell2d.Frac
Returns the specified number rounded to the nearest fracunit.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links