- getAbsAngle() - Method in class cell2d.space.Hitbox
-
Returns this Hitbox's absolute angle of rotation.
- getAbsAngleX() - Method in class cell2d.space.Hitbox
-
Returns the x-coordinate of the unit vector that points in the direction
of this Hitbox's absolute angle of rotation.
- getAbsAngleY() - Method in class cell2d.space.Hitbox
-
Returns the y-coordinate of the unit vector that points in the direction
of this Hitbox's absolute angle of rotation.
- getAbsBottom() - Method in class cell2d.space.RectangleHitbox
-
Returns the difference of the y-coordinates of this RectangleHitbox's
absolute bottom edge and absolute position.
- getAbsDifference() - Method in class cell2d.space.LineHitbox
-
Returns this LineHitbox's absolute difference.
- getAbsDX() - Method in class cell2d.space.LineHitbox
-
Returns the x-coordinate of this LineHitbox's relative difference.
- getAbsDY() - Method in class cell2d.space.LineHitbox
-
Returns the y-coordinate of this LineHitbox's relative difference.
- getAbsLeft() - Method in class cell2d.space.RectangleHitbox
-
Returns the difference of the x-coordinates of this RectangleHitbox's
absolute left edge and absolute position.
- getAbsPosition() - Method in class cell2d.space.Hitbox
-
Returns this Hitbox's absolute position.
- getAbsPressingAngle() - Method in class cell2d.space.MobileObject
-
Returns this MobileObject's absolute pressing angle, or null if it has
none.
- getAbsRight() - Method in class cell2d.space.RectangleHitbox
-
Returns the difference of the x-coordinates of this RectangleHitbox's
absolute right edge and absolute position.
- getAbsTop() - Method in class cell2d.space.RectangleHitbox
-
Returns the difference of the y-coordinates of this RectangleHitbox's
absolute top edge and absolute position.
- getAbsVertex(int) - Method in class cell2d.space.PolygonHitbox
-
Returns this PolygonHitbox's absolute vertex at the specified index.
- getAbsVertexX(int) - Method in class cell2d.space.PolygonHitbox
-
Returns the x-coordinate of this PolygonHitbox's absolute vertex at the
specified index.
- getAbsVertexY(int) - Method in class cell2d.space.PolygonHitbox
-
Returns the y-coordinate of this PolygonHitbox's absolute vertex at the
specified index.
- getAbsVertices() - Method in class cell2d.space.PolygonHitbox
-
Returns the List of this PolygonHitbox's absolute vertices.
- getAbsX() - Method in class cell2d.space.Hitbox
-
Returns the x-coordinate of this Hitbox's absolute position.
- getAbsXFlip() - Method in class cell2d.space.Hitbox
-
Returns whether this Hitbox is absolutely horizontally flipped.
- getAbsXSign() - Method in class cell2d.space.Hitbox
-
Returns -1 if this Hitbox is absolutely horizontally flipped and 1 if it
is not.
- getAbsY() - Method in class cell2d.space.Hitbox
-
Returns the y-coordinate of this Hitbox's absolute position.
- getAbsYFlip() - Method in class cell2d.space.Hitbox
-
Returns whether this Hitbox is absolutely vertically flipped.
- getAbsYSign() - Method in class cell2d.space.Hitbox
-
Returns -1 if this Hitbox is absolutely vertically flipped and 1 if it is
not.
- getActionPriority() - Method in class cell2d.space.ThinkerObject
-
Returns this ThinkerObject's action priority.
- getActionPriority() - Method in class cell2d.Thinker
-
Returns this Thinker's action priority.
- getAlpha() - Method in class cell2d.space.SpaceObject
-
Returns this SpaceObject's alpha value.
- getAngle() - Method in class cell2d.CellVector
-
Returns this CellVector's angle.
- getAngle() - Method in class cell2d.space.SpaceObject
-
Returns this SpaceObject's angle of rotation.
- getAngleX() - Method in class cell2d.CellVector
-
Returns the x-coordinate of the unit vector that points in the direction
of this CellVector's angle.
- getAngleX() - Method in class cell2d.space.SpaceObject
-
Returns the x-coordinate of the unit vector that points in the direction
of this SpaceObject's angle of rotation.
- getAngleY() - Method in class cell2d.CellVector
-
Returns the y-coordinate of the unit vector that points in the direction
of this CellVector's angle.
- getAngleY() - Method in class cell2d.space.SpaceObject
-
Returns the y-coordinate of the unit vector that points in the direction
of this SpaceObject's angle of rotation.
- getAnimation() - Method in class cell2d.AnimationInstance
-
Returns the Animation that this AnimationInstance is an instance of.
- getAnimation(int) - Method in class cell2d.CellGameState
-
Returns the Animation of the AnimationInstance assigned to this
CellGameState with the specified ID, if there is one.
- getAnimation(int) - Method in class cell2d.space.SpaceObject
-
Returns the Animation of the AnimationInstance assigned to this
SpaceObject with the specified ID, or Animation.BLANK if there is none.
- getAnimation() - Method in class cell2d.space.SpaceObject
-
Returns the Animation of the AnimationInstance assigned to this
SpaceObject with ID 0, or Animation.BLANK if there is none.
- getAnimInstance(int) - Method in class cell2d.CellGameState
-
Returns the AnimationInstance that is assigned to this CellGameState with
the specified ID.
- getAnimInstance(int) - Method in class cell2d.space.SpaceObject
-
Returns the AnimationInstance that is assigned to this SpaceObject with
the specified ID, or AnimationInstance.BLANK if there is none.
- getAnimInstance() - Method in class cell2d.space.SpaceObject
-
Returns the AnimationInstance that is assigned to this SpaceObject with
ID 0, or AnimationInstance.BLANK if there is none.
- getAppearance() - Method in class cell2d.space.SpaceObject
-
Returns this SpaceObject's appearance.
- getBindingCommandNum() - Method in class cell2d.CellGame
-
Returns the number of the command to which this CellGame has been
instructed to bind the next valid control pressed, or -1 if there is
none.
- getBottom() - Method in class cell2d.space.Viewport
-
Returns the difference of the y-coordinates in pixels of this Viewport's
bottom edge and the position of its camera on the screen.
- getBottomEdge() - Method in class cell2d.space.CircleHitbox
-
- getBottomEdge() - Method in class cell2d.space.CompositeHitbox
-
- getBottomEdge() - Method in class cell2d.space.Hitbox
-
Returns the y-coordinate of this Hitbox's absolute bottom boundary.
- getBottomEdge() - Method in class cell2d.space.LineHitbox
-
- getBottomEdge() - Method in class cell2d.space.PointHitbox
-
- getBottomEdge() - Method in class cell2d.space.PolygonHitbox
-
- getBottomEdge() - Method in class cell2d.space.RectangleHitbox
-
- getBottomEdge() - Method in class cell2d.space.SpaceObject
-
Returns the y-coordinate of this SpaceObject's absolute bottom boundary.
- getBottomEdge() - Method in class cell2d.space.Viewport
-
Returns the y-coordinate of the bottom edge of this Viewport's field of
view in a SpaceState.
- getCamera() - Method in class cell2d.space.Viewport
-
Returns this Viewport's camera, or null if it has none.
- getCellHeight() - Method in class cell2d.space.SpaceState
-
Returns the height of each of this SpaceState's cells.
- getCellWidth() - Method in class cell2d.space.SpaceState
-
Returns the width of each of this SpaceState's cells.
- getCenter() - Method in class cell2d.space.SpaceObject
-
Returns the absolute position of this SpaceObject's center.
- getCenterOffset() - Method in class cell2d.space.SpaceObject
-
Returns this SpaceObject's center's offset.
- getCenterOffsetX() - Method in class cell2d.space.SpaceObject
-
Returns the x-coordinate of this SpaceObject's center's offset.
- getCenterOffsetY() - Method in class cell2d.space.SpaceObject
-
Returns the y-coordinate of this SpaceObject's center's offset.
- getCenterX() - Method in class cell2d.space.SpaceObject
-
Returns the absolute x-coordinate of this SpaceObject's center.
- getCenterY() - Method in class cell2d.space.SpaceObject
-
Returns the absolute y-coordinate of this SpaceObject's center.
- getCollisionDirections() - Method in class cell2d.space.MobileObject
-
Returns the Set of the Directions in which this MobileObject collided
with solid surfaces during its last movement.
- getCollisionHitbox() - Method in class cell2d.space.MobileObject
-
Returns this MobileObject's collision Hitbox, or null if it has none.
- getCollisions() - Method in class cell2d.space.MobileObject
-
Returns a Map of the SpaceObjects whose solid surfaces this MobileObject
collided with during its last movement to the Sets of the Directions in
which it collided with them.
- getColor() - Method in class cell2d.ColorFilter
-
Returns the Color that this ColorFilter uses.
- getColorMap() - Method in class cell2d.ColorMapFilter
-
Returns the Map that this ColorMapFilter uses.
- getComponent(int) - Method in class cell2d.space.CompositeHitbox
-
Returns the component Hitbox that is assigned to this CompositeHitbox
with the specified ID.
- getComponentOf() - Method in class cell2d.space.Hitbox
-
Returns the CompositeHitbox that this Hitbox is a component of, or null
if it is not a component of one.
- getComponents() - Method in class cell2d.space.CompositeHitbox
-
Returns all of this CompositeHitbox's components as values in a Map with
their respective IDs as keys.
- getControl(String) - Method in class cell2d.CellGame
-
Returns the Control whose name according to getControlName() is the
specified String, or null if no Control has that String as a name.
- getControlName(Control) - Method in class cell2d.CellGame
-
Returns a short, descriptive, and unique String name for the specified
Control.
- getControlsFor(int) - Method in class cell2d.CellGame
-
Returns all of the Controls that are bound to the specified command.
- getCopy() - Method in class cell2d.space.CircleHitbox
-
- getCopy() - Method in class cell2d.space.CompositeHitbox
-
- getCopy() - Method in class cell2d.space.Hitbox
-
Returns a copy of this Hitbox with its relative position at the origin
that is not flipped or rotated.
- getCopy() - Method in class cell2d.space.LineHitbox
-
- getCopy() - Method in class cell2d.space.PointHitbox
-
- getCopy() - Method in class cell2d.space.PolygonHitbox
-
- getCopy() - Method in class cell2d.space.RectangleHitbox
-
- getCurrentSprite() - Method in class cell2d.AnimationInstance
-
Returns the Sprite that is specified by this AnimationInstance's current
indices, and that the draw() methods will draw if called now.
- getCurrentState() - Method in class cell2d.CellGame
-
Returns the CellGameState that this CellGame is currently in - in other
words, this CellGame's only active CellGameState.
- getDisplacement() - Method in class cell2d.space.MobileObject
-
Returns this MobileObject's displacement during its last movement.
- getDisplacementLength() - Method in class cell2d.space.MobileObject
-
Returns the length of this MobileObject's displacement during its last
movement.
- getDisplacementX() - Method in class cell2d.space.MobileObject
-
Returns the x-component of this MobileObject's displacement during its
last movement.
- getDisplacementY() - Method in class cell2d.space.MobileObject
-
Returns the y-component of this MobileObject's displacement during its
last movement.
- getDrawMode() - Method in class cell2d.space.SpaceState
-
Returns this SpaceState's DrawMode.
- getDrawPriority() - Method in class cell2d.space.SpaceObject
-
Returns this SpaceObject's draw priority.
- getEffectiveTimeFactor() - Method in class cell2d.AnimationInstance
-
Returns this AnimationInstance's effective time factor; that is, the
average number of time units it experiences every frame.
- getEffectiveTimeFactor() - Method in class cell2d.space.SpaceObject
-
Returns this SpaceObject's effective time factor; that is, the average
number of time units it experiences every frame.
- getEffectiveTimeFactor() - Method in class cell2d.Thinker
-
Returns this Thinker's effective time factor; that is, the average number
of time units it experiences every frame.
- getFilter() - Method in class cell2d.space.SpaceObject
-
Returns this SpaceObject's Filter, or null if it has none.
- getFilters() - Method in class cell2d.Sprite
-
Returns the Set of Filters that will have an effect on this Sprite when
applied to it with draw().
- getFilters() - Method in class cell2d.SpriteSheet
-
Returns the Set of Filters that will have an effect on this SpriteSheet's
Sprites when applied to them with draw().
- getFollowers() - Method in class cell2d.space.MobileObject
-
Returns the Set of this MobileObject's followers.
- getFPS() - Method in class cell2d.CellGame
-
Returns the number of frames that this CellGame executes per second.
- getFrame(int) - Method in interface cell2d.Animatable
-
Returns this Animatable's frame at the specified index.
- getFrame(int) - Method in class cell2d.Animation
-
- getFrame(int) - Method in class cell2d.Sprite
-
- getFrameDuration(int) - Method in interface cell2d.Animatable
-
Returns the duration of the frame at the specified index.
- getFrameDuration(int) - Method in class cell2d.Animation
-
- getFrameDuration(int) - Method in class cell2d.Sprite
-
- getGame() - Method in class cell2d.CellGameState
-
Returns the CellGame to which this CellGameState belongs.
- getGame() - Method in class cell2d.space.SpaceObject
-
Returns the CellGame of the SpaceState to which this SpaceObject is
assigned, or null if it is not assigned to a SpaceState.
- getGame() - Method in class cell2d.Thinker
-
Returns the CellGame of the CellGameState to which this Thinker is
directly or indirectly assigned, or null if it is not assigned to a
CellGameState.
- getGameState() - Method in class cell2d.AnimationInstance
-
Returns the CellGameState to which this AnimationInstance is assigned, or
null if it is not assigned to one.
- getGameState() - Method in class cell2d.space.Hitbox
-
Returns the SpaceState of the SpaceObject that is using this Hitbox, or
null if either the SpaceObject is not assigned to a SpaceState or this
Hitbox is not being used by a SpaceObject.
- getGameState() - Method in class cell2d.space.SpaceObject
-
Returns the SpaceState to which this SpaceObject is assigned, or null if
it is not assigned to one.
- getGameState() - Method in class cell2d.Thinker
-
Returns the CellGameState to which this Thinker is directly or indirectly
assigned, or null if it is not assigned to one.
- getHeight() - Method in class cell2d.space.RectangleHitbox
-
Returns this RectangleHitbox's height.
- getHeight() - Method in class cell2d.space.Viewport
-
Returns this Viewport's height in fracunits on the screen.
- getHeight() - Method in class cell2d.Sprite
-
Returns this Sprite's height in pixels.
- getHeight() - Method in class cell2d.SpriteSheet
-
Returns the height in Sprites of this SpriteSheet.
- getHUD() - Method in class cell2d.space.SpaceState
-
Returns the HUD that is assigned to this SpaceState, or null if there is
none.
- getHUD() - Method in class cell2d.space.Viewport
-
Returns the HUD that is assigned to this Viewport, or null if there is
none.
- getID() - Method in class cell2d.CellGameState
-
Returns this CellGameState's ID.
- getIndex(int) - Method in class cell2d.AnimationInstance
-
Returns this AnimationInstance's current index at the specified level.
- getIndex() - Method in class cell2d.AnimationInstance
-
Returns this AnimationInstance's current index at its highest level.
- getLayer(int) - Method in class cell2d.space.SpaceState
-
Returns the SpaceLayer that is assigned to this SpaceState with the
specified ID.
- getLeader() - Method in class cell2d.space.MobileObject
-
Returns this MobileObject's leader, or null if it has none.
- getLeft() - Method in class cell2d.space.Viewport
-
Returns the difference of the x-coordinates in pixels of this Viewport's
left edge and the position of its camera on the screen.
- getLeftEdge() - Method in class cell2d.space.CircleHitbox
-
- getLeftEdge() - Method in class cell2d.space.CompositeHitbox
-
- getLeftEdge() - Method in class cell2d.space.Hitbox
-
Returns the x-coordinate of this Hitbox's absolute left boundary.
- getLeftEdge() - Method in class cell2d.space.LineHitbox
-
- getLeftEdge() - Method in class cell2d.space.PointHitbox
-
- getLeftEdge() - Method in class cell2d.space.PolygonHitbox
-
- getLeftEdge() - Method in class cell2d.space.RectangleHitbox
-
- getLeftEdge() - Method in class cell2d.space.SpaceObject
-
Returns the x-coordinate of this SpaceObject's absolute left boundary.
- getLeftEdge() - Method in class cell2d.space.Viewport
-
Returns the x-coordinate of the left edge of this Viewport's field of
view in a SpaceState.
- getLevel() - Method in interface cell2d.Animatable
-
Returns how many levels of Animations this Animatable and its frames and
sub-frames comprise.
- getLevel() - Method in class cell2d.Animation
-
- getLevel() - Method in class cell2d.Sprite
-
- getLocatorHitbox() - Method in class cell2d.space.SpaceObject
-
Returns this SpaceObject's locator Hitbox.
- getMagnitude() - Method in class cell2d.CellVector
-
Returns this CellVector's magnitude.
- getMagnitudeSquared() - Method in class cell2d.CellVector
-
Returns the square of this CellVector's magnitude.
- getMaxTypingStringLength() - Method in class cell2d.CellGame
-
Returns the maximum length in characters of the String that this CellGame
is being used to type, or 0 if this CellGame is not being used to type a
String.
- getMouseWheelChange() - Method in class cell2d.CellGame
-
Returns the change in the position of the mouse wheel since last frame.
- getMouseX() - Method in class cell2d.CellGame
-
Returns the x-coordinate in pixels of the mouse cursor on this CellGame's
screen.
- getMouseY() - Method in class cell2d.CellGame
-
Returns the y-coordinate in pixels of the mouse cursor on this CellGame's
screen.
- getMovementPriority() - Method in class cell2d.space.MobileObject
-
Returns this MobileObject's movement priority.
- getMusic(int) - Method in class cell2d.CellGame
-
Returns the Music track assigned to the specified priority in this
CellGame's music stack, if there is exactly one such Music track, or null
otherwise.
- getMusic() - Method in class cell2d.CellGame
-
Returns the Music track assigned to the greatest priority in this
CellGame's music stack, if the music stack is not empty and there is
exactly one such Music track, or null otherwise.
- getMusicStackTop() - Method in class cell2d.CellGame
-
Returns the greatest priority in this CellGame's music stack to which any
Music tracks are assigned, or 0 if the music stack is empty.
- getMusicTracks(int) - Method in class cell2d.CellGame
-
Returns the Set of Music tracks that are assigned to the specified
priority in this CellGame's music stack, or an empty Set if the music
stack is empty.
- getMusicTracks() - Method in class cell2d.CellGame
-
Returns the Set of Music tracks that are assigned to the greatest
priority in this CellGame's music stack, or an empty Set if the music
stack is empty.
- getNewActionPriority() - Method in class cell2d.space.ThinkerObject
-
Returns the action priority that this ThinkerObject is about to have, but
does not yet have due to its SpaceState's SpaceThinker list being
iterated over.
- getNewActionPriority() - Method in class cell2d.Thinker
-
Returns the action priority that this Thinker is about to have, but does
not yet have due to its ThinkerGroup's Thinker list being iterated over.
- getNewGameState() - Method in class cell2d.space.SpaceObject
-
Returns the SpaceState to which this SpaceObject is about to be assigned,
but has not yet been due to one or more of the object lists involved
being iterated over.
- getNewMovementPriority() - Method in class cell2d.space.MobileObject
-
Returns the movement priority that this MobileObject is about to have,
but does not yet have due to its SpaceState's MobileObject list being
iterated over.
- getNewThinkerGroup() - Method in class cell2d.Thinker
-
Returns the ThinkerGroup to which this Thinker is about to be assigned,
but has not yet been due to one or more of the Thinker lists involved
being iterated over.
- getNumAnimInstances() - Method in class cell2d.CellGameState
-
Returns the number of AnimationInstances that are assigned to this
CellGameState.
- getNumCommands() - Method in class cell2d.CellGame
-
Returns how many commands this CellGame has.
- getNumFollowers() - Method in class cell2d.space.MobileObject
-
Returns the number of followers that this MobileObject currently has.
- getNumFrames() - Method in interface cell2d.Animatable
-
Returns how many frames this Animatable has.
- getNumFrames() - Method in class cell2d.Animation
-
- getNumFrames() - Method in class cell2d.Sprite
-
- getNumLayers() - Method in class cell2d.space.SpaceState
-
Returns the number of SpaceLayers that are assigned to this SpaceState.
- getNumMobileObjects() - Method in class cell2d.space.SpaceState
-
Returns the number of MobileObjects that are assigned to this SpaceState.
- getNumObjects() - Method in class cell2d.space.SpaceState
-
Returns the number of SpaceObjects that are assigned to this SpaceState.
- getNumThinkers() - Method in class cell2d.space.ThinkerObject
-
Returns the number of SpaceThinkers that are assigned to this
ThinkerObject.
- getNumThinkers() - Method in class cell2d.ThinkerGroup
-
Returns the number of Thinkers that are assigned to this ThinkerGroup.
- getNumVertices() - Method in class cell2d.space.PolygonHitbox
-
Returns how many vertices this PolygonHitbox has.
- getNumViewports() - Method in class cell2d.space.SpaceState
-
Returns the number of Viewports that are assigned to this SpaceState.
- getObject() - Method in class cell2d.space.Hitbox
-
Returns the SpaceObject that is using this Hitbox, directly or indirectly
as part of a CompositeHitbox, or null if it is not being used by a
SpaceObject.
- getOriginX() - Method in class cell2d.Sprite
-
Returns the x-coordinate in pixels of this Sprite's origin.
- getOriginX() - Method in class cell2d.SpriteSheet
-
Returns the x-coordinate in pixels on each of this SpriteSheet's Sprites
of its origin.
- getOriginY() - Method in class cell2d.Sprite
-
Returns the y-coordinate in pixels of this Sprite's origin.
- getOriginY() - Method in class cell2d.SpriteSheet
-
Returns the y-coordinate in pixels on each of this SpriteSheet's Sprites
of its origin.
- getOverlapHitbox() - Method in class cell2d.space.SpaceObject
-
Returns this SpaceObject's overlap Hitbox, or null if it has none.
- getPosition() - Method in class cell2d.Music
-
Returns the music player's position in seconds in this Music track, or 0
if it is not currently playing.
- getPosition() - Method in class cell2d.space.SpaceObject
-
Returns this SpaceObject's position.
- getPosition2() - Method in class cell2d.space.LineHitbox
-
Returns the position of this LineHitbox's second endpoint, the sum of its
absolute position and absolute difference.
- getRadius() - Method in class cell2d.space.CircleHitbox
-
Returns this CircleHitbox's radius.
- getRelAngle() - Method in class cell2d.space.Hitbox
-
Returns this Hitbox's relative angle of rotation.
- getRelAngleX() - Method in class cell2d.space.Hitbox
-
Returns the x-coordinate of the unit vector that points in the direction
of this Hitbox's relative angle of rotation.
- getRelAngleY() - Method in class cell2d.space.Hitbox
-
Returns the y-coordinate of the unit vector that points in the direction
of this Hitbox's relative angle of rotation.
- getRelBottom() - Method in class cell2d.space.RectangleHitbox
-
Returns the difference of the y-coordinates of this RectangleHitbox's
relative bottom edge and relative position.
- getRelDifference() - Method in class cell2d.space.LineHitbox
-
Returns this LineHitbox's relative difference.
- getRelDX() - Method in class cell2d.space.LineHitbox
-
Returns the x-coordinate of this LineHitbox's relative difference.
- getRelDY() - Method in class cell2d.space.LineHitbox
-
Returns the y-coordinate of this LineHitbox's relative difference.
- getRelLeft() - Method in class cell2d.space.RectangleHitbox
-
Returns the difference of the x-coordinates of this RectangleHitbox's
relative left edge and relative position.
- getRelPosition() - Method in class cell2d.space.Hitbox
-
Returns this Hitbox's relative position.
- getRelPressingAngle() - Method in class cell2d.space.MobileObject
-
Returns this MobileObject's relative pressing angle, or null if it has
none.
- getRelRight() - Method in class cell2d.space.RectangleHitbox
-
Returns the difference of the x-coordinates of this RectangleHitbox's
relative right edge and relative position.
- getRelTop() - Method in class cell2d.space.RectangleHitbox
-
Returns the difference of the y-coordinates of this RectangleHitbox's
relative top edge and relative position.
- getRelVertex(int) - Method in class cell2d.space.PolygonHitbox
-
Returns this PolygonHitbox's relative vertex at the specified index.
- getRelVertexX(int) - Method in class cell2d.space.PolygonHitbox
-
Returns the x-coordinate of this PolygonHitbox's relative vertex at the
specified index.
- getRelVertexY(int) - Method in class cell2d.space.PolygonHitbox
-
Returns the y-coordinate of this PolygonHitbox's relative vertex at the
specified index.
- getRelVertices() - Method in class cell2d.space.PolygonHitbox
-
Returns the List of this PolygonHitbox's relative vertices.
- getRelX() - Method in class cell2d.space.Hitbox
-
Returns the x-coordinate of this Hitbox's relative position.
- getRelXFlip() - Method in class cell2d.space.Hitbox
-
Returns whether this Hitbox is relatively horizontally flipped.
- getRelXSign() - Method in class cell2d.space.Hitbox
-
Returns -1 if this Hitbox is relatively horizontally flipped and 1 if it
is not.
- getRelY() - Method in class cell2d.space.Hitbox
-
Returns the y-coordinate of this Hitbox's relative position.
- getRelYFlip() - Method in class cell2d.space.Hitbox
-
Returns whether this Hitbox is relatively vertically flipped.
- getRelYSign() - Method in class cell2d.space.Hitbox
-
Returns -1 if this Hitbox is relatively vertically flipped and 1 if it is
not.
- getRight() - Method in class cell2d.space.Viewport
-
Returns the difference of the x-coordinates in pixels of this Viewport's
right edge and the position of its camera on the screen.
- getRightEdge() - Method in class cell2d.space.CircleHitbox
-
- getRightEdge() - Method in class cell2d.space.CompositeHitbox
-
- getRightEdge() - Method in class cell2d.space.Hitbox
-
Returns the x-coordinate of this Hitbox's absolute right boundary.
- getRightEdge() - Method in class cell2d.space.LineHitbox
-
- getRightEdge() - Method in class cell2d.space.PointHitbox
-
- getRightEdge() - Method in class cell2d.space.PolygonHitbox
-
- getRightEdge() - Method in class cell2d.space.RectangleHitbox
-
- getRightEdge() - Method in class cell2d.space.SpaceObject
-
Returns the x-coordinate of this SpaceObject's absolute right boundary.
- getRightEdge() - Method in class cell2d.space.Viewport
-
Returns the x-coordinate of the right edge of this Viewport's field of
view in a SpaceState.
- getScaleFactor() - Method in class cell2d.CellGame
-
Returns the factor by which this CellGame's screen is scaled to make the
size of the program window.
- getScreenHeight() - Method in class cell2d.CellGame
-
Returns the height in pixels of this CellGame's screen.
- getScreenPoint(CellVector) - Method in class cell2d.space.Viewport
-
Returns the point in pixels on the screen that corresponds to the
specified point in a SpaceState as seen through this Viewport.
- getScreenPoint(long, long) - Method in class cell2d.space.Viewport
-
Returns the point in pixels on the screen that corresponds to the
specified point in a SpaceState as seen through this Viewport.
- getScreenWidth() - Method in class cell2d.CellGame
-
Returns the width in pixels of this CellGame's screen.
- getSolidHitbox() - Method in class cell2d.space.SpaceObject
-
Returns this SpaceObject's solid Hitbox, or null if it has none.
- getSpacePoint(int, int) - Method in class cell2d.space.SpaceState
-
Returns the point in this SpaceState, as seen through one of its
Viewports, that corresponds to the specified point in pixels on the
screen.
- getSpacePoint(int, int) - Method in class cell2d.space.Viewport
-
Returns the point in a SpaceState, as seen through this Viewport, that
corresponds to the specified point in pixels in this Viewport's on-screen
rendering region.
- getSpeed(int) - Method in class cell2d.AnimationInstance
-
Returns this AnimationInstance's speed at the specified level.
- getSpeed() - Method in class cell2d.AnimationInstance
-
Returns this AnimationInstance's speed at its highest level.
- getSpeed() - Method in class cell2d.Music
-
Returns the speed at which this Music track is playing, with 1
representing no speed change, or 0 if it is not currently playing.
- getSpeed() - Method in class cell2d.space.MobileObject
-
Returns this MobileObject's speed, the magnitude of its velocity.
- getSprite(int, int) - Method in class cell2d.SpriteSheet
-
Returns the Sprite at the specified coordinates.
- getSpriteSheet() - Method in class cell2d.Sprite
-
Returns the SpriteSheet that this Sprite is part of, or null if it is not
part of one.
- getState(int) - Method in class cell2d.CellGame
-
Returns this CellGame's CellGameState with the specified ID, or null if
there is none.
- getStep() - Method in class cell2d.space.MobileObject
-
Returns this MobileObject's step.
- getStepLength() - Method in class cell2d.space.MobileObject
-
Returns the length of this MobileObject's step.
- getStepX() - Method in class cell2d.space.MobileObject
-
Returns the x-component of this MobileObject's step.
- getStepY() - Method in class cell2d.space.MobileObject
-
Returns the y-component of this MobileObject's step.
- getThinkerGroup() - Method in class cell2d.Thinker
-
Returns the ThinkerGroup to which this Thinker is assigned, or null if it
is assigned to none.
- getThis() - Method in class cell2d.BasicGameState
-
- getThis() - Method in class cell2d.BasicThinker
-
- getThis() - Method in class cell2d.CellGameState
-
A method which returns this CellGameState as a U, rather than as a
CellGameState<T,U,V>.
- getThis() - Method in class cell2d.space.SpaceState
-
- getThis() - Method in class cell2d.space.SpaceThinker
-
- getThis() - Method in class cell2d.Thinker
-
A method which returns this Thinker as a V, rather than as a
Thinker<T,U,V>.
- getTimeFactor() - Method in class cell2d.AnimationInstance
-
Returns this AnimationInstance's time factor.
- getTimeFactor() - Method in class cell2d.CellGameState
-
Returns this CellGameState's time factor; that is, the average number of
discrete time units it experiences every frame.
- getTimeFactor() - Method in class cell2d.space.SpaceObject
-
Returns this SpaceObject's time factor.
- getTimeFactor() - Method in class cell2d.Thinker
-
Returns this Thinker's time factor.
- getTimerValue(TimedEvent) - Method in class cell2d.space.ThinkerObject
-
Returns the current value of this ThinkerObject's timer for the specified
TimedEvent.
- getTimerValue(TimedEvent) - Method in class cell2d.Thinker
-
Returns the current value of this Thinker's timer for the specified
TimedEvent.
- getTop() - Method in class cell2d.space.Viewport
-
Returns the difference of the y-coordinates in pixels of this Viewport's
top edge and the position of its camera on the screen.
- getTopEdge() - Method in class cell2d.space.CircleHitbox
-
- getTopEdge() - Method in class cell2d.space.CompositeHitbox
-
- getTopEdge() - Method in class cell2d.space.Hitbox
-
Returns the y-coordinate of this Hitbox's absolute top boundary.
- getTopEdge() - Method in class cell2d.space.LineHitbox
-
- getTopEdge() - Method in class cell2d.space.PointHitbox
-
- getTopEdge() - Method in class cell2d.space.PolygonHitbox
-
- getTopEdge() - Method in class cell2d.space.RectangleHitbox
-
- getTopEdge() - Method in class cell2d.space.SpaceObject
-
Returns the y-coordinate of this SpaceObject's absolute top boundary.
- getTopEdge() - Method in class cell2d.space.Viewport
-
Returns the y-coordinate of the top edge of this Viewport's field of view
in a SpaceState.
- getTypingString() - Method in class cell2d.CellGame
-
Returns the String that this CellGame is being used to type, or null if
there is none.
- getVelocity() - Method in class cell2d.space.MobileObject
-
Returns this MobileObject's velocity.
- getVelocityX() - Method in class cell2d.space.MobileObject
-
Returns the x-component of this MobileObject's velocity.
- getVelocityY() - Method in class cell2d.space.MobileObject
-
Returns the y-component of this MobileObject's velocity.
- getViewport(int) - Method in class cell2d.space.SpaceState
-
Returns the Viewport that is assigned to this SpaceState with the
specified ID.
- getVolume() - Method in class cell2d.Music
-
Returns the volume at which this Music track is playing, with 1
representing no volume change, or 0 if it is not currently playing.
- getWidth() - Method in class cell2d.space.RectangleHitbox
-
Returns this RectangleHitbox's width.
- getWidth() - Method in class cell2d.space.Viewport
-
Returns this Viewport's width in fracunits on the screen.
- getWidth() - Method in class cell2d.Sprite
-
Returns this Sprite's width in pixels.
- getWidth() - Method in class cell2d.SpriteSheet
-
Returns the width in Sprites of this SpriteSheet.
- getX() - Method in class cell2d.CellVector
-
Returns the x-coordinate of the point that this CellVector represents.
- getX() - Method in class cell2d.space.SpaceObject
-
Returns the x-coordinate of this SpaceObject's position.
- getX1() - Method in class cell2d.space.Viewport
-
Returns the x-coordinate in fracunits of this Viewport's left edge on the
screen.
- getX2() - Method in class cell2d.space.LineHitbox
-
Returns the x-coordinate of this LineHitbox's second endpoint, the sum of
its absolute position and absolute difference.
- getX2() - Method in class cell2d.space.Viewport
-
Returns the x-coordinate in fracunits of this Viewport's right edge on
the screen.
- getXFlip() - Method in class cell2d.space.SpaceObject
-
Returns whether this SpaceObject is horizontally flipped.
- getXSign() - Method in class cell2d.space.SpaceObject
-
Returns -1 if this SpaceObject is horizontally flipped and 1 if it is
not.
- getY() - Method in class cell2d.CellVector
-
Returns the y-coordinate of the point that this CellVector represents.
- getY() - Method in class cell2d.space.SpaceObject
-
Returns the y-coordinate of this SpaceObject's position.
- getY1() - Method in class cell2d.space.Viewport
-
Returns the y-coordinate in fracunits of this Viewport's top edge on the
screen.
- getY2() - Method in class cell2d.space.LineHitbox
-
Returns the y-coordinate of this LineHitbox's second endpoint, the sum of
its absolute position and absolute difference.
- getY2() - Method in class cell2d.space.Viewport
-
Returns the y-coordinate in fracunits of this Viewport's bottom edge on
the screen.
- getYFlip() - Method in class cell2d.space.SpaceObject
-
Returns whether this SpaceObject is vertically flipped.
- getYSign() - Method in class cell2d.space.SpaceObject
-
Returns -1 if this SpaceObject is vertically flipped and 1 if it is not.