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

G

GameState<T extends CellGame,U extends GameState<T,U,V>,V extends SubThinker<T,U,V>> - Class in org.cell2d
A GameState represents one state that a CellGame can be in, such as the main menu, the options menu, in the middle of a level, etc.
GameState(Class<T>, Class<U>, Class<V>, T, int) - Constructor for class org.cell2d.GameState
Constructs a GameState of the specified CellGame with the specified ID.
get(Object) - Method in class org.cell2d.util.ArrayMap
 
getA() - Method in class org.cell2d.Color
Returns this Color's alpha value.
getAbsAngle() - Method in class org.cell2d.space.Hitbox
Returns this Hitbox's absolute angle of rotation.
getAbsAngleX() - Method in class org.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 org.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 org.cell2d.space.RectangleHitbox
Returns the difference of the y-coordinates of this RectangleHitbox's absolute bottom edge and absolute position.
getAbsDifference() - Method in class org.cell2d.space.LineHitbox
Returns this LineHitbox's absolute difference.
getAbsDX() - Method in class org.cell2d.space.LineHitbox
Returns the x-coordinate of this LineHitbox's relative difference.
getAbsDY() - Method in class org.cell2d.space.LineHitbox
Returns the y-coordinate of this LineHitbox's relative difference.
getAbsLeft() - Method in class org.cell2d.space.RectangleHitbox
Returns the difference of the x-coordinates of this RectangleHitbox's absolute left edge and absolute position.
getAbsPosition() - Method in class org.cell2d.space.Hitbox
Returns this Hitbox's absolute position.
getAbsPressingAngle() - Method in class org.cell2d.space.MobileObject
Returns this MobileObject's absolute pressing angle, or null if it has none.
getAbsRight() - Method in class org.cell2d.space.RectangleHitbox
Returns the difference of the x-coordinates of this RectangleHitbox's absolute right edge and absolute position.
getAbsTop() - Method in class org.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 org.cell2d.space.PolygonHitbox
Returns this PolygonHitbox's absolute vertex at the specified index.
getAbsVertexX(int) - Method in class org.cell2d.space.PolygonHitbox
Returns the x-coordinate of this PolygonHitbox's absolute vertex at the specified index.
getAbsVertexY(int) - Method in class org.cell2d.space.PolygonHitbox
Returns the y-coordinate of this PolygonHitbox's absolute vertex at the specified index.
getAbsVertices() - Method in class org.cell2d.space.PolygonHitbox
Returns the List of this PolygonHitbox's absolute vertices.
getAbsX() - Method in class org.cell2d.space.Hitbox
Returns the x-coordinate of this Hitbox's absolute position.
getAbsXFlip() - Method in class org.cell2d.space.Hitbox
Returns whether this Hitbox is absolutely horizontally flipped.
getAbsXSign() - Method in class org.cell2d.space.Hitbox
Returns -1 if this Hitbox is absolutely horizontally flipped and 1 if it is not.
getAbsY() - Method in class org.cell2d.space.Hitbox
Returns the y-coordinate of this Hitbox's absolute position.
getAbsYFlip() - Method in class org.cell2d.space.Hitbox
Returns whether this Hitbox is absolutely vertically flipped.
getAbsYSign() - Method in class org.cell2d.space.Hitbox
Returns -1 if this Hitbox is absolutely vertically flipped and 1 if it is not.
getAByte() - Method in class org.cell2d.Color
Returns this Color's alpha value as an integer from 0 to 255.
getAlpha() - Method in class org.cell2d.space.SpaceObject
Returns this SpaceObject's alpha value.
getAngle() - Method in class org.cell2d.CellVector
Returns this CellVector's angle.
getAngle() - Method in class org.cell2d.space.SpaceObject
Returns this SpaceObject's angle of rotation.
getAngleX() - Method in class org.cell2d.CellVector
Returns the x-coordinate of the unit vector that points in the direction of this CellVector's angle.
getAngleX() - Method in class org.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 org.cell2d.CellVector
Returns the y-coordinate of the unit vector that points in the direction of this CellVector's angle.
getAngleY() - Method in class org.cell2d.space.SpaceObject
Returns the y-coordinate of the unit vector that points in the direction of this SpaceObject's angle of rotation.
getAnimatable(TiledTile, boolean, Filter...) - Method in class org.cell2d.space.map.TiledConverter
Converts the TiledTileset to which the specified TiledTile belongs, if it has not already been converted, and returns the Animatable representation of the specified TiledTile.
getAnimation() - Method in class org.cell2d.AnimationInstance
Returns the Animation that this AnimationInstance is an instance of.
getAnimation(int) - Method in class org.cell2d.GameState
Returns the Animation of the AnimationInstance assigned to this GameState with the specified ID, or Animation.BLANK if there is none.
getAnimation(int) - Method in class org.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 org.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 org.cell2d.GameState
Returns the AnimationInstance that is assigned to this GameState with the specified ID, or AnimationInstance.BLANK if there is none.
getAnimInstance(int) - Method in class org.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 org.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 org.cell2d.space.SpaceObject
Returns this SpaceObject's appearance.
getB() - Method in class org.cell2d.Color
Returns this Color's blue value.
getBackgroundColorLayerID() - Method in class org.cell2d.space.map.TiledArea
Returns the integer ID with which this TiledArea's background color SpaceLayer is assigned to the SpaceStates that load it.
getBByte() - Method in class org.cell2d.Color
Returns this Color's blue value as an integer from 0 to 255.
getBeforeMovementEvents() - Method in class org.cell2d.space.SpaceState
Returns the EventGroup of this SpaceState's before-movement Events.
getBeforeMovementEvents() - Method in class org.cell2d.space.SpaceThinker
Returns the EventGroup of this SpaceThinker's before-movement Events.
getBeforeMovementEvents() - Method in class org.cell2d.space.ThinkerObject
Returns the EventGroup of this ThinkerObject's before-movement Events.
getBeforeMovementPriority() - Method in class org.cell2d.space.SpaceThinker
Returns this SpaceThinker's before-movement priority.
getBeforeMovementPriority() - Method in class org.cell2d.space.ThinkerObject
Returns this ThinkerObject's before-movement priority.
getBindingCommandNum() - Method in class org.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 org.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 org.cell2d.space.CircleHitbox
 
getBottomEdge() - Method in class org.cell2d.space.CompositeHitbox
 
getBottomEdge() - Method in class org.cell2d.space.Hitbox
Returns the y-coordinate of this Hitbox's absolute bottom boundary.
getBottomEdge() - Method in class org.cell2d.space.LineHitbox
 
getBottomEdge() - Method in class org.cell2d.space.PointHitbox
 
getBottomEdge() - Method in class org.cell2d.space.PolygonHitbox
 
getBottomEdge() - Method in class org.cell2d.space.RectangleHitbox
 
getBottomEdge() - Method in class org.cell2d.space.SpaceObject
Returns the y-coordinate of this SpaceObject's absolute bottom boundary.
getBottomEdge() - Method in class org.cell2d.space.Viewport
Returns the y-coordinate of the bottom edge of this Viewport's field of view in a SpaceState.
getBottommostRow() - Method in class org.cell2d.space.map.ArrayTileGrid
 
getBottommostRow() - Method in class org.cell2d.space.map.HashTileGrid
 
getBottommostRow() - Method in class org.cell2d.space.map.TileGrid
Returns the index of this TileGrid's bottommost row.
getButtonCode() - Method in class org.cell2d.control.MouseButtonControl
Returns this MouseButtonControl's button code.
getButtonNum() - Method in class org.cell2d.control.ControllerButtonControl
Returns the number of this ControllerButtonControl's button.
getCamera() - Method in class org.cell2d.space.Viewport
Returns this Viewport's camera, or null if it has none.
getCellHeight() - Method in class org.cell2d.space.SpaceState
Returns the height of each of this SpaceState's cells.
getCellWidth() - Method in class org.cell2d.space.SpaceState
Returns the width of each of this SpaceState's cells.
getCenter() - Method in class org.cell2d.space.SpaceObject
Returns the absolute position of this SpaceObject's center.
getCenterOffset() - Method in class org.cell2d.space.SpaceObject
Returns this SpaceObject's center's offset.
getCenterOffsetX() - Method in class org.cell2d.space.SpaceObject
Returns the x-coordinate of this SpaceObject's center's offset.
getCenterOffsetY() - Method in class org.cell2d.space.SpaceObject
Returns the y-coordinate of this SpaceObject's center's offset.
getCenterX() - Method in class org.cell2d.space.SpaceObject
Returns the absolute x-coordinate of this SpaceObject's center.
getCenterY() - Method in class org.cell2d.space.SpaceObject
Returns the absolute y-coordinate of this SpaceObject's center.
getCollisionDirections() - Method in class org.cell2d.space.MobileObject
Returns an unmodifiable Set view of the Directions in which this MobileObject collided with solid surfaces during its last movement.
getCollisionHitbox() - Method in class org.cell2d.space.MobileObject
Returns this MobileObject's collision Hitbox, or null if it has none.
getCollisions() - Method in class org.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 org.cell2d.ColorFilter
Returns the Color that this ColorFilter uses.
getColor() - Method in class org.cell2d.ColorMultiplyFilter
Returns the Color that this ColorMultiplyFilter uses.
getColor() - Method in class org.cell2d.space.ColorSpaceLayer
Returns the Color that this ColorSpaceLayer displays.
getColorMap() - Method in class org.cell2d.ColorMapFilter
Returns an unmodifiable view of the Map that this ColorMapFilter uses.
getComponent(int) - Method in class org.cell2d.space.CompositeHitbox
Returns the component Hitbox that is assigned to this CompositeHitbox with the specified ID.
getComponentOf() - Method in class org.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 org.cell2d.space.CompositeHitbox
Returns an unmodifiable Map to this CompositeHitbox's components from their respective IDs.
getControl(String) - Static method in class org.cell2d.control.Control
Returns a Control whose name according to getName() is the specified String, or null if no Control has that String as a name.
getControllerNum() - Method in class org.cell2d.control.ControllerControl
Returns the number of this ControllerControl's controller.
getControlsFor(int) - Method in class org.cell2d.CellGame
Returns an unmodifiable Set view of all of the Controls that are bound to the specified command.
getConverter() - Method in class org.cell2d.space.map.TiledArea
Returns this TiledArea's associated TiledConverter.
getCopy() - Method in class org.cell2d.space.CircleHitbox
 
getCopy() - Method in class org.cell2d.space.CompositeHitbox
 
getCopy() - Method in class org.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 org.cell2d.space.LineHitbox
 
getCopy() - Method in class org.cell2d.space.PointHitbox
 
getCopy() - Method in class org.cell2d.space.PolygonHitbox
 
getCopy() - Method in class org.cell2d.space.RectangleHitbox
 
getCurrentSprite() - Method in class org.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 org.cell2d.CellGame
Returns the GameState that this CellGame is currently in.
getDirection() - Method in class org.cell2d.control.ControllerDirectionControl
Returns this ControllerButtonControl's Direction.
getDisplacement() - Method in class org.cell2d.space.MobileObject
Returns this MobileObject's displacement during its last movement.
getDisplacementLength() - Method in class org.cell2d.space.MobileObject
Returns the length of this MobileObject's displacement during its last movement.
getDisplacementX() - Method in class org.cell2d.space.MobileObject
Returns the x-component of this MobileObject's displacement during its last movement.
getDisplacementY() - Method in class org.cell2d.space.MobileObject
Returns the y-component of this MobileObject's displacement during its last movement.
getDrawable() - Method in class org.cell2d.space.DrawableSpaceLayer
Returns the Drawable that this DrawableSpaceLayer displays.
getDrawMode() - Method in class org.cell2d.space.SpaceState
Returns this SpaceState's DrawMode.
getDrawPriority() - Method in class org.cell2d.space.SpaceObject
Returns this SpaceObject's draw priority.
getEffectiveTimeFactor() - Method in class org.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 org.cell2d.GameState
 
getEffectiveTimeFactor() - Method in class org.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 org.cell2d.SubThinker
 
getEffectiveTimeFactor() - Method in class org.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 org.cell2d.space.SpaceObject
Returns this SpaceObject's Filter, or null if it has none.
getFilteredCopy(Filter, boolean) - Method in interface org.cell2d.Animatable
Returns a new Animatable created by applying a Filter to all of the Sprites of which this Animatable is ultimately composed.
getFilteredCopy(Filter, boolean) - Method in class org.cell2d.Animation
 
getFilteredCopy(Filter, boolean) - Method in class org.cell2d.Sprite
 
getFilteredImage(Image) - Method in class org.cell2d.ColorFilter
 
getFilteredImage(Image) - Method in class org.cell2d.ColorMapFilter
 
getFilteredImage(Image) - Method in class org.cell2d.ColorMultiplyFilter
 
getFilteredImage(Image) - Method in interface org.cell2d.Filter
Returns the transformation through this Filter of the specified Celick image.
getFilters() - Method in class org.cell2d.Sprite
Returns an unmodifiable Set view of the Filters that will have an effect on this Sprite when applied to it with draw().
getFilters() - Method in class org.cell2d.SpriteSheet
Returns an unmodifiable Set view of the Filters that will have an effect on this SpriteSheet's Sprites when applied to them with draw().
getFollowers() - Method in class org.cell2d.space.MobileObject
Returns an unmodifiable Set view of this MobileObject's followers.
getFPS() - Method in class org.cell2d.CellGame
Returns the number of frames that this CellGame executes per second.
getFracunitsPerMS() - Method in class org.cell2d.space.map.TiledConverter
Returns this TiledConverter's milliseconds-to-fracunits conversion rate, in fracunits per millisecond.
getFrame(int) - Method in interface org.cell2d.Animatable
Returns this Animatable's frame at the specified index.
getFrame(int) - Method in class org.cell2d.Animation
 
getFrame(int) - Method in class org.cell2d.Sprite
 
getFrameDuration(int) - Method in interface org.cell2d.Animatable
Returns the duration in fracunits of this Animatable's frame at the specified index.
getFrameDuration(int) - Method in class org.cell2d.Animation
 
getFrameDuration(int) - Method in class org.cell2d.Sprite
 
getFrameEvents() - Method in class org.cell2d.space.ThinkerObject
Returns the EventGroup of this ThinkerObject's frame Events.
getFrameEvents() - Method in class org.cell2d.Thinker
Returns the EventGroup of this Thinker's frame Events.
getFramePriority() - Method in class org.cell2d.space.ThinkerObject
Returns this ThinkerObject's frame priority.
getFramePriority() - Method in class org.cell2d.SubThinker
Returns this SubThinker's frame priority.
getG() - Method in class org.cell2d.Color
Returns this Color's green value.
getGame() - Method in class org.cell2d.GameState
 
getGame() - Method in class org.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 org.cell2d.space.Viewport
Returns the CellGame of the SpaceState to which this Viewport is assigned, or null if it is not assigned to a SpaceState.
getGame() - Method in class org.cell2d.SubThinker
 
getGame() - Method in class org.cell2d.Thinker
Returns the CellGame of the GameState to which this Thinker is assigned, or null if it is not assigned to a GameState.
getGameClass() - Method in class org.cell2d.space.ThinkerObject
Returns the Class object representing the type of CellGame that uses this ThinkerObject's SpaceThinker's SpaceStates.
getGameClass() - Method in class org.cell2d.Thinker
Returns the Class object representing the type of CellGame that uses this Thinker's GameStates.
getGameState() - Method in class org.cell2d.AnimationInstance
Returns the GameState to which this AnimationInstance is assigned, or null if it is not assigned to one.
getGameState() - Method in class org.cell2d.GameState
 
getGameState() - Method in class org.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 org.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 org.cell2d.space.Viewport
Returns the SpaceState to which this Viewport is assigned, or null if it is not assigned to one.
getGameState() - Method in class org.cell2d.SubThinker
 
getGameState() - Method in class org.cell2d.Thinker
Returns the GameState to which this Thinker is assigned, or null if it is not assigned to one.
getGByte() - Method in class org.cell2d.Color
Returns this Color's green value as an integer from 0 to 255.
getGlobalVolume() - Static method in class org.cell2d.Music
Returns the global music volume.
getGlobalVolume() - Static method in class org.cell2d.Sound
Returns the global sound volume.
getGrid() - Method in class org.cell2d.space.map.TileGridObject
Returns the TileGrid that this TileGridObject instantiates.
getHeight() - Method in class org.cell2d.space.Hitbox
Returns the difference between the y-coordinates of this Hitbox's absolute bottom and top boundaries.
getHeight() - Method in class org.cell2d.space.SpaceObject
Returns the difference between the y-coordinates of this SpaceObject's absolute bottom and top boundaries.
getHeight() - Method in class org.cell2d.space.Viewport
Returns this Viewport's height in fracunits on the screen.
getHeight() - Method in class org.cell2d.Sprite
Returns this Sprite's height in pixels.
getHeight() - Method in class org.cell2d.SpriteSheet
Returns the height in Sprites of this SpriteSheet.
getHUD() - Method in class org.cell2d.space.SpaceState
Returns the HUD that is assigned to this SpaceState, or null if there is none.
getHUD() - Method in class org.cell2d.space.Viewport
Returns the HUD that is assigned to this Viewport, or null if there is none.
getIconPath() - Method in class org.cell2d.CellGame
Returns the relative path to the image file that this CellGame's program window uses as its icon, or null if the window uses the default LWJGL 2 icon.
getID() - Method in class org.cell2d.GameState
Returns this GameState's ID.
getIndex(int) - Method in class org.cell2d.AnimationInstance
Returns this AnimationInstance's current index at the specified level.
getIndex() - Method in class org.cell2d.AnimationInstance
Returns this AnimationInstance's current index at its highest level.
getInstance() - Method in interface org.cell2d.Animatable
Returns a Drawable instantiation of this Animatable.
getInstance() - Method in class org.cell2d.Animation
Returns a Drawable instantiation of this Animation - that is, a new AnimationInstance of this Animation, with its indices and speeds at each level starting at 0.
getInstance() - Method in class org.cell2d.Sprite
Returns a Drawable instantiation of this Sprite - which is simply this Sprite itself, since Sprites are already Drawables.
getKeyCode(String) - Static method in class org.cell2d.control.KeyControl
Returns the key code whose name according to getKeyCodeName() is the specified String.
getKeyCode() - Method in class org.cell2d.control.KeyControl
Returns this KeyControl's key code.
getKeyCodeName(int) - Static method in class org.cell2d.control.KeyControl
Returns a short, descriptive, and unique String name for the specified key code, identical to the return value of the getName() method of a KeyControl with the key code.
getLayer(int) - Method in class org.cell2d.space.SpaceState
Returns the SpaceLayer that is assigned to this SpaceState with the specified ID.
getLayerDrawPriority(int) - Method in class org.cell2d.space.map.TiledArea
Returns the draw priority of the non-group layer at the specified index in this TiledArea's TiledMap's list of non-group layers (accessed via getNonGroupLayers()).
getLeader() - Method in class org.cell2d.space.MobileObject
Returns this MobileObject's leader, or null if it has none.
getLeft() - Method in class org.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 org.cell2d.space.CircleHitbox
 
getLeftEdge() - Method in class org.cell2d.space.CompositeHitbox
 
getLeftEdge() - Method in class org.cell2d.space.Hitbox
Returns the x-coordinate of this Hitbox's absolute left boundary.
getLeftEdge() - Method in class org.cell2d.space.LineHitbox
 
getLeftEdge() - Method in class org.cell2d.space.PointHitbox
 
getLeftEdge() - Method in class org.cell2d.space.PolygonHitbox
 
getLeftEdge() - Method in class org.cell2d.space.RectangleHitbox
 
getLeftEdge() - Method in class org.cell2d.space.SpaceObject
Returns the x-coordinate of this SpaceObject's absolute left boundary.
getLeftEdge() - Method in class org.cell2d.space.Viewport
Returns the x-coordinate of the left edge of this Viewport's field of view in a SpaceState.
getLeftmostColumn() - Method in class org.cell2d.space.map.ArrayTileGrid
 
getLeftmostColumn() - Method in class org.cell2d.space.map.HashTileGrid
 
getLeftmostColumn() - Method in class org.cell2d.space.map.TileGrid
Returns the index of this TileGrid's leftmost column.
getLevel() - Method in interface org.cell2d.Animatable
Returns how many levels of Animations this Animatable and its frames and sub-frames comprise.
getLevel() - Method in class org.cell2d.Animation
 
getLevel() - Method in class org.cell2d.Sprite
 
getLoadables() - Method in class org.cell2d.space.map.TiledArea
Returns an unmodifiable List view of this TiledArea's stored Loadables.
getLocatorHitbox() - Method in class org.cell2d.space.SpaceObject
Returns this SpaceObject's locator Hitbox.
getMagnitude() - Method in class org.cell2d.CellVector
Returns this CellVector's magnitude.
getMagnitudeSquared() - Method in class org.cell2d.CellVector
Returns the square of this CellVector's magnitude.
getMap() - Method in class org.cell2d.space.map.TiledArea
Returns the TiledMap whose contents this TiledArea represents.
getMargin() - Method in class org.cell2d.SpriteSheet
Returns the horizontal and vertical spacing in pixels between this SpriteSheet's grid of Sprites and the edges of its image.
getMaxTypingStringLength() - Method in class org.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 org.cell2d.CellGame
Returns the change in the position of the mouse wheel since last frame.
getMouseX() - Method in class org.cell2d.CellGame
Returns the x-coordinate in pixels of the mouse cursor on this CellGame's screen.
getMouseY() - Method in class org.cell2d.CellGame
Returns the y-coordinate in pixels of the mouse cursor on this CellGame's screen.
getMovementPriority() - Method in class org.cell2d.space.MobileObject
Returns this MobileObject's movement priority.
getMusic(int) - Method in class org.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 org.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 org.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 org.cell2d.CellGame
Returns an unmodifiable Set view of the Music tracks that are assigned to the specified priority in this CellGame's music stack, or an unmodifiable empty Set if the music stack is empty.
getMusicTracks() - Method in class org.cell2d.CellGame
Returns an unmodifiable Set view of the Music tracks that are assigned to the greatest priority in this CellGame's music stack, or an unmodifiable empty Set if the music stack is empty.
getName() - Method in class org.cell2d.control.Control
Returns a short, descriptive, and unique String name for this Control.
getName() - Method in class org.cell2d.control.ControllerButtonControl
 
getName() - Method in class org.cell2d.control.ControllerDirectionControl
 
getName() - Method in class org.cell2d.control.KeyControl
 
getName() - Method in class org.cell2d.control.MouseButtonControl
 
getNewGameState() - Method in class org.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 org.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.
getNewSuperThinker() - Method in class org.cell2d.SubThinker
Returns the Thinker to which this SubThinker is about to be assigned, but has not yet been due to one or more of the SubThinker lists involved being iterated over.
getNumAnimInstances() - Method in class org.cell2d.GameState
Returns the number of AnimationInstances that are assigned to this GameState, with or without IDs.
getNumAnimInstances() - Method in class org.cell2d.space.SpaceObject
Returns the number of AnimationInstances that are assigned to this SpaceObject, with or without IDs.
getNumCommands() - Method in class org.cell2d.CellGame
Returns how many commands this CellGame has.
getNumFollowers() - Method in class org.cell2d.space.MobileObject
Returns the number of followers that this MobileObject currently has.
getNumFrames() - Method in interface org.cell2d.Animatable
Returns how many frames this Animatable has.
getNumFrames() - Method in class org.cell2d.Animation
 
getNumFrames() - Method in class org.cell2d.Sprite
 
getNumLayers() - Method in class org.cell2d.space.SpaceState
Returns the number of SpaceLayers that are assigned to this SpaceState.
getNumMobileObjects() - Method in class org.cell2d.space.SpaceState
Returns the number of MobileObjects that are assigned to this SpaceState.
getNumObjects() - Method in class org.cell2d.space.SpaceState
Returns the number of SpaceObjects that are assigned to this SpaceState.
getNumSubThinkers() - Method in class org.cell2d.space.ThinkerObject
Returns the number of SpaceThinkers that are assigned to this ThinkerObject.
getNumSubThinkers() - Method in class org.cell2d.Thinker
Returns the number of SubThinkers that are assigned to this Thinker.
getNumVertices() - Method in class org.cell2d.space.PolygonHitbox
Returns how many vertices this PolygonHitbox has.
getNumViewports() - Method in class org.cell2d.space.SpaceState
Returns the number of Viewports that are assigned to this SpaceState.
getObject() - Method in class org.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 org.cell2d.Sprite
Returns the x-coordinate in pixels of this Sprite's origin.
getOriginX() - Method in class org.cell2d.SpriteSheet
Returns the x-coordinate in pixels on each of this SpriteSheet's Sprites of that Sprite's origin.
getOriginY() - Method in class org.cell2d.Sprite
Returns the y-coordinate in pixels of this Sprite's origin.
getOriginY() - Method in class org.cell2d.SpriteSheet
Returns the y-coordinate in pixels on each of this SpriteSheet's Sprites of that Sprite's origin.
getOverlapHitbox() - Method in class org.cell2d.space.SpaceObject
Returns this SpaceObject's overlap Hitbox, or null if it has none.
getParallaxOriginX() - Method in class org.cell2d.space.DrawableSpaceLayer
Returns this DrawableSpaceLayer's horizontal parallax origin.
getParallaxOriginY() - Method in class org.cell2d.space.DrawableSpaceLayer
Returns this DrawableSpaceLayer's vertical parallax origin.
getParallaxX() - Method in class org.cell2d.space.DrawableSpaceLayer
Returns this DrawableSpaceLayer's horizontal parallax.
getParallaxY() - Method in class org.cell2d.space.DrawableSpaceLayer
Returns this DrawableSpaceLayer's vertical parallax.
getPosition() - Method in class org.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 org.cell2d.space.SpaceObject
Returns this SpaceObject's position.
getPosition2() - Method in class org.cell2d.space.LineHitbox
Returns the position of this LineHitbox's second endpoint, the sum of its absolute position and absolute difference.
getR() - Method in class org.cell2d.Color
Returns this Color's red value.
getRadius() - Method in class org.cell2d.space.CircleHitbox
Returns this CircleHitbox's radius.
getRByte() - Method in class org.cell2d.Color
Returns this Color's red value as an integer from 0 to 255.
getReader() - Method in class org.cell2d.space.map.TiledConverter
Returns this TiledConverter's associated TiledReader.
getRelAngle() - Method in class org.cell2d.space.Hitbox
Returns this Hitbox's relative angle of rotation.
getRelAngleX() - Method in class org.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 org.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 org.cell2d.space.RectangleHitbox
Returns the difference of the y-coordinates of this RectangleHitbox's relative bottom edge and relative position.
getRelDifference() - Method in class org.cell2d.space.LineHitbox
Returns this LineHitbox's relative difference.
getRelDX() - Method in class org.cell2d.space.LineHitbox
Returns the x-coordinate of this LineHitbox's relative difference.
getRelDY() - Method in class org.cell2d.space.LineHitbox
Returns the y-coordinate of this LineHitbox's relative difference.
getRelLeft() - Method in class org.cell2d.space.RectangleHitbox
Returns the difference of the x-coordinates of this RectangleHitbox's relative left edge and relative position.
getRelPosition() - Method in class org.cell2d.space.Hitbox
Returns this Hitbox's relative position.
getRelPressingAngle() - Method in class org.cell2d.space.MobileObject
Returns this MobileObject's relative pressing angle, or null if it has none.
getRelRight() - Method in class org.cell2d.space.RectangleHitbox
Returns the difference of the x-coordinates of this RectangleHitbox's relative right edge and relative position.
getRelTop() - Method in class org.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 org.cell2d.space.PolygonHitbox
Returns this PolygonHitbox's relative vertex at the specified index.
getRelVertexX(int) - Method in class org.cell2d.space.PolygonHitbox
Returns the x-coordinate of this PolygonHitbox's relative vertex at the specified index.
getRelVertexY(int) - Method in class org.cell2d.space.PolygonHitbox
Returns the y-coordinate of this PolygonHitbox's relative vertex at the specified index.
getRelVertices() - Method in class org.cell2d.space.PolygonHitbox
Returns the List of this PolygonHitbox's relative vertices.
getRelX() - Method in class org.cell2d.space.Hitbox
Returns the x-coordinate of this Hitbox's relative position.
getRelXFlip() - Method in class org.cell2d.space.Hitbox
Returns whether this Hitbox is relatively horizontally flipped.
getRelXSign() - Method in class org.cell2d.space.Hitbox
Returns -1 if this Hitbox is relatively horizontally flipped and 1 if it is not.
getRelY() - Method in class org.cell2d.space.Hitbox
Returns the y-coordinate of this Hitbox's relative position.
getRelYFlip() - Method in class org.cell2d.space.Hitbox
Returns whether this Hitbox is relatively vertically flipped.
getRelYSign() - Method in class org.cell2d.space.Hitbox
Returns -1 if this Hitbox is relatively vertically flipped and 1 if it is not.
getRenderableRegion(Graphics) - Static method in interface org.cell2d.Drawable
Returns the rectangular region of the specified Graphics context that can currently be rendered to.
getRepeatX() - Method in class org.cell2d.space.DrawableSpaceLayer
Returns this DrawableSpaceLayer's horizontal repetition spacing.
getRepeatY() - Method in class org.cell2d.space.DrawableSpaceLayer
Returns this DrawableSpaceLayer's vertical repetition spacing.
getRight() - Method in class org.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 org.cell2d.space.CircleHitbox
 
getRightEdge() - Method in class org.cell2d.space.CompositeHitbox
 
getRightEdge() - Method in class org.cell2d.space.Hitbox
Returns the x-coordinate of this Hitbox's absolute right boundary.
getRightEdge() - Method in class org.cell2d.space.LineHitbox
 
getRightEdge() - Method in class org.cell2d.space.PointHitbox
 
getRightEdge() - Method in class org.cell2d.space.PolygonHitbox
 
getRightEdge() - Method in class org.cell2d.space.RectangleHitbox
 
getRightEdge() - Method in class org.cell2d.space.SpaceObject
Returns the x-coordinate of this SpaceObject's absolute right boundary.
getRightEdge() - Method in class org.cell2d.space.Viewport
Returns the x-coordinate of the right edge of this Viewport's field of view in a SpaceState.
getRightmostColumn() - Method in class org.cell2d.space.map.ArrayTileGrid
 
getRightmostColumn() - Method in class org.cell2d.space.map.HashTileGrid
 
getRightmostColumn() - Method in class org.cell2d.space.map.TileGrid
Returns the index of this TileGrid's rightmost column.
getScaleFactor() - Method in class org.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 org.cell2d.CellGame
Returns the height in pixels of this CellGame's screen.
getScreenPoint(CellVector) - Method in class org.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 org.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 org.cell2d.CellGame
Returns the width in pixels of this CellGame's screen.
getSolidHitbox() - Method in class org.cell2d.space.SpaceObject
Returns this SpaceObject's solid Hitbox, or null if it has none.
getSolidLayer() - Method in class org.cell2d.space.map.TiledArea
Returns the TiledTileLayer that this TiledArea makes solid via the default implementation of loadTileLayer(), or null if there is no such TiledTileLayer.
getSpacePoint(int, int) - Method in class org.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 org.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.
getSpacing() - Method in class org.cell2d.SpriteSheet
Returns the horizontal and vertical spacing in pixels between Sprites in this SpriteSheet.
getSpeed(int) - Method in class org.cell2d.AnimationInstance
Returns this AnimationInstance's speed at the specified level.
getSpeed() - Method in class org.cell2d.AnimationInstance
Returns this AnimationInstance's speed at its highest level.
getSpeed() - Method in class org.cell2d.Music
Returns the speed at which this Music track is playing, or 0 if it is not currently playing.
getSpeed() - Method in class org.cell2d.space.MobileObject
Returns this MobileObject's speed, the magnitude of its velocity.
getSprite(TiledImageLayer) - Method in class org.cell2d.space.map.TiledArea
Returns the Sprite that this TiledArea constructed to represent the specified TiledImageLayer, or null if the TiledImageLayer is not part of this TiledArea's TiledMap.
getSprite(int, int) - Method in class org.cell2d.SpriteSheet
Returns this SpriteSheet's Sprite at the specified coordinates.
getSpriteHeight() - Method in class org.cell2d.SpriteSheet
Returns the height in pixels of each of this SpriteSheet's sprites.
getSprites() - Method in interface org.cell2d.Animatable
Returns an unmodifiable Set view of all of the Sprites that ultimately compose this Animatable.
getSprites() - Method in class org.cell2d.Animation
 
getSprites(TiledTileset, boolean, Filter...) - Method in class org.cell2d.space.map.TiledConverter
Converts the specified TiledTileset, if it has not already been converted, and returns an Iterable of the Sprites corresponding to all of the TiledTileset's TiledTiles.
getSprites() - Method in class org.cell2d.Sprite
 
getSpriteSheet() - Method in class org.cell2d.Sprite
Returns the SpriteSheet that this Sprite is part of, or null if it is not part of one.
getSpriteWidth() - Method in class org.cell2d.SpriteSheet
Returns the width in pixels of each of this SpriteSheet's sprites.
getState(int) - Method in class org.cell2d.CellGame
Returns this CellGame's GameState with the specified ID, or null if there is none.
getStateClass() - Method in class org.cell2d.space.ThinkerObject
Returns the Class object representing the type of SpaceState that uses this ThinkerObject's SpaceThinker.
getStateClass() - Method in class org.cell2d.Thinker
Returns the Class object representing the type of GameState that uses this Thinker.
getStep() - Method in class org.cell2d.space.MobileObject
Returns this MobileObject's step.
getStepLength() - Method in class org.cell2d.space.MobileObject
Returns the length of this MobileObject's step.
getStepX() - Method in class org.cell2d.space.MobileObject
Returns the x-component of this MobileObject's step.
getStepY() - Method in class org.cell2d.space.MobileObject
Returns the y-component of this MobileObject's step.
getSubThinkerClass() - Method in class org.cell2d.space.ThinkerObject
Returns the Class object representing the type of SpaceThinker that this ThinkerObject mimics.
getSubThinkerClass() - Method in class org.cell2d.Thinker
Returns the Class object representing the type of SubThinker that can be assigned to this Thinker.
getSuperThinker() - Method in class org.cell2d.SubThinker
Returns this SubThinker's super-Thinker, or null if it has none.
getThinker() - Method in class org.cell2d.space.ThinkerObject
Returns this ThinkerObject's assigned SpaceThinker, or null if it has none.
getThis() - Method in class org.cell2d.GameState
Returns this GameState as a U, rather than as a GameState<T,U,V>.
getThis() - Method in class org.cell2d.SubThinker
Returns this SubThinker as a V, rather than as a SubThinker<T,U,V>.
getTile(int, int) - Method in class org.cell2d.space.map.ArrayTileGrid
 
getTile(int, int) - Method in class org.cell2d.space.map.HashTileGrid
 
getTile(int, int) - Method in class org.cell2d.space.map.TileGrid
Returns the tile at the specified location in this TileGrid, or null if there is none.
getTileAngle(int, int) - Method in class org.cell2d.space.map.ArrayTileGrid
 
getTileAngle(int, int) - Method in class org.cell2d.space.map.HashTileGrid
 
getTileAngle(int, int) - Method in class org.cell2d.space.map.TileGrid
Returns the angle by which the tile at the specified location in this TileGrid is rotated, or 0 if the location is outside the bounds of this TileGrid.
getTileHeight() - Method in class org.cell2d.space.map.TileGrid
Returns the height in pixels of each of this TileGrid's tiles.
getTileLocations() - Method in class org.cell2d.space.map.ArrayTileGrid
 
getTileLocations() - Method in class org.cell2d.space.map.HashTileGrid
 
getTileLocations() - Method in class org.cell2d.space.map.TileGrid
Returns an unmodifiable Set view of the locations in this TileGrid that are occupied by tiles.
getTileWidth() - Method in class org.cell2d.space.map.TileGrid
Returns the width in pixels of each of this TileGrid's tiles.
getTileXFlip(int, int) - Method in class org.cell2d.space.map.ArrayTileGrid
 
getTileXFlip(int, int) - Method in class org.cell2d.space.map.HashTileGrid
 
getTileXFlip(int, int) - Method in class org.cell2d.space.map.TileGrid
Returns whether the tile at the specified location in this TileGrid is flipped horizontally, or false if the location is outside the bounds of this TileGrid.
getTileYFlip(int, int) - Method in class org.cell2d.space.map.ArrayTileGrid
 
getTileYFlip(int, int) - Method in class org.cell2d.space.map.HashTileGrid
 
getTileYFlip(int, int) - Method in class org.cell2d.space.map.TileGrid
Returns whether the tile at the specified location in this TileGrid is flipped vertically, or false if the location is outside the bounds of this TileGrid.
getTimeFactor() - Method in class org.cell2d.AnimationInstance
Returns this AnimationInstance's time factor.
getTimeFactor() - Method in class org.cell2d.space.SpaceObject
Returns this SpaceObject's time factor.
getTimeFactor() - Method in class org.cell2d.Thinker
Returns this Thinker's time factor.
getTimerValue(Event<T, U>) - Method in class org.cell2d.space.ThinkerObject
Returns the current value of this ThinkerObject's timer for the specified Event.
getTimerValue(Event<T, U>) - Method in class org.cell2d.Thinker
Returns the current value of this Thinker's timer for the specified Event.
getTintColor(TiledLayer) - Static method in class org.cell2d.space.map.TiledArea
Returns a Cell2D Color that represents the tint color of the specified TiledLayer.
getTop() - Method in class org.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 org.cell2d.space.CircleHitbox
 
getTopEdge() - Method in class org.cell2d.space.CompositeHitbox
 
getTopEdge() - Method in class org.cell2d.space.Hitbox
Returns the y-coordinate of this Hitbox's absolute top boundary.
getTopEdge() - Method in class org.cell2d.space.LineHitbox
 
getTopEdge() - Method in class org.cell2d.space.PointHitbox
 
getTopEdge() - Method in class org.cell2d.space.PolygonHitbox
 
getTopEdge() - Method in class org.cell2d.space.RectangleHitbox
 
getTopEdge() - Method in class org.cell2d.space.SpaceObject
Returns the y-coordinate of this SpaceObject's absolute top boundary.
getTopEdge() - Method in class org.cell2d.space.Viewport
Returns the y-coordinate of the top edge of this Viewport's field of view in a SpaceState.
getTopmostRow() - Method in class org.cell2d.space.map.ArrayTileGrid
 
getTopmostRow() - Method in class org.cell2d.space.map.HashTileGrid
 
getTopmostRow() - Method in class org.cell2d.space.map.TileGrid
Returns the index of this TileGrid's topmost row.
getTransColor(TiledImage) - Static method in class org.cell2d.space.map.TiledArea
Returns the transparent color of the specified TiledImage as a Cell2D Color, or null if the TiledImage does not have a transparent color.
getTypingString() - Method in class org.cell2d.CellGame
Returns the String that this CellGame is being used to type, or null if there is none.
getVelocity() - Method in class org.cell2d.space.MobileObject
Returns this MobileObject's velocity.
getVelocityX() - Method in class org.cell2d.space.MobileObject
Returns the x-component of this MobileObject's velocity.
getVelocityY() - Method in class org.cell2d.space.MobileObject
Returns the y-component of this MobileObject's velocity.
getViewport(int) - Method in class org.cell2d.space.SpaceState
Returns the Viewport that is assigned to this SpaceState with the specified ID.
getVolume() - Method in class org.cell2d.Music
Returns the volume at which this Music track is playing, or 0 if it is not currently playing.
getWidth() - Method in class org.cell2d.space.Hitbox
Returns the difference between the x-coordinates of this Hitbox's absolute right and left boundaries.
getWidth() - Method in class org.cell2d.space.SpaceObject
Returns the difference between the x-coordinates of this SpaceObject's absolute right and left boundaries.
getWidth() - Method in class org.cell2d.space.Viewport
Returns this Viewport's width in fracunits on the screen.
getWidth() - Method in class org.cell2d.Sprite
Returns this Sprite's width in pixels.
getWidth() - Method in class org.cell2d.SpriteSheet
Returns the width in Sprites of this SpriteSheet.
getX() - Method in class org.cell2d.CellVector
Returns the x-coordinate of the point that this CellVector represents.
getX() - Method in class org.cell2d.space.SpaceObject
Returns the x-coordinate of this SpaceObject's position.
getX1() - Method in class org.cell2d.space.Viewport
Returns the x-coordinate in fracunits of this Viewport's left edge on the screen.
getX2() - Method in class org.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 org.cell2d.space.Viewport
Returns the x-coordinate in fracunits of this Viewport's right edge on the screen.
getXFlip() - Method in class org.cell2d.space.SpaceObject
Returns whether this SpaceObject is horizontally flipped.
getXSign() - Method in class org.cell2d.space.SpaceObject
Returns -1 if this SpaceObject is horizontally flipped and 1 if it is not.
getY() - Method in class org.cell2d.CellVector
Returns the y-coordinate of the point that this CellVector represents.
getY() - Method in class org.cell2d.space.SpaceObject
Returns the y-coordinate of this SpaceObject's position.
getY1() - Method in class org.cell2d.space.Viewport
Returns the y-coordinate in fracunits of this Viewport's top edge on the screen.
getY2() - Method in class org.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 org.cell2d.space.Viewport
Returns the y-coordinate in fracunits of this Viewport's bottom edge on the screen.
getYFlip() - Method in class org.cell2d.space.SpaceObject
Returns whether this SpaceObject is vertically flipped.
getYSign() - Method in class org.cell2d.space.SpaceObject
Returns -1 if this SpaceObject is vertically flipped and 1 if it is not.
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links