- leftActions(T) - Method in class org.cell2d.GameState
-
Actions for this GameState to take immediately before being exited.
- LineHitbox - Class in org.cell2d.space
-
A LineHitbox is a Hitbox shaped like a line segment, with one endpoint
being its position and the other being the sum of its position and a vector
called its difference.
- LineHitbox(CellVector, CellVector) - Constructor for class org.cell2d.space.LineHitbox
-
Constructs a LineHitbox with the specified relative position and
difference.
- LineHitbox(long, long, long, long) - Constructor for class org.cell2d.space.LineHitbox
-
Constructs a LineHitbox with the specified relative position and
difference.
- lineSegmentsIntersect(CellVector, CellVector, CellVector, CellVector) - Static method in class org.cell2d.CellVector
-
Returns whether the two specified line segments share any points.
- lineSegmentsIntersectionPoint(CellVector, CellVector, CellVector, CellVector) - Static method in class org.cell2d.CellVector
-
Returns the single point at which the two specified line segments
intersect, or null if they intersect at no points or at an infinity of
points.
- load() - Method in interface org.cell2d.Loadable
-
Loads this Loadable if it is not already loaded.
- load() - Method in class org.cell2d.Music
-
- load() - Method in class org.cell2d.Sound
-
- load(T, U) - Method in interface org.cell2d.space.Area
-
Actions for this Area to take to in order for the specified SpaceState to
load it.
- load(T, U) - Method in class org.cell2d.space.map.TiledArea
-
- load() - Method in class org.cell2d.Sprite
-
Loads this Sprite if it is not already loaded.
- load() - Method in class org.cell2d.SpriteSheet
-
Loads this SpriteSheet, along with all of its Sprites, if it is not
already loaded.
- Loadable - Interface in org.cell2d
-
A Loadable object is an asset, such as an image or sound effect, that can
be manually loaded and unloaded into and out of memory.
- loadArea(CellVector, Area<T, U>) - Method in class org.cell2d.space.SpaceState
-
Loads the specified Area about the specified origin point.
- loadArea(long, long, Area<T, U>) - Method in class org.cell2d.space.SpaceState
-
Loads the specified Area about the specified origin point.
- loadImageLayer(T, U, TiledImageLayer, int) - Method in class org.cell2d.space.map.TiledArea
-
Generates a set of SpaceObjects to represent the specified
TiledImageLayer.
- loadLoadables() - Method in class org.cell2d.space.map.TiledArea
-
Loads all of this TiledArea's stored Loadables (that are not already
loaded).
- loadLoadingAssets() - Method in class org.cell2d.CellGame
-
Loads any assets that are used in renderLoadingVisuals().
- loadNatives(String) - Static method in class org.cell2d.CellGame
-
Loads the native libraries that are necessary for LWJGL 2, and thus
Cell2D, to run.
- loadObjectLayer(T, U, TiledObjectLayer, int) - Method in class org.cell2d.space.map.TiledArea
-
Generates a set of SpaceObjects to represent the specified
TiledObjectLayer.
- loadTileLayer(T, U, TiledTileLayer, int) - Method in class org.cell2d.space.map.TiledArea
-
Generates a set of SpaceObjects to represent the specified
TiledTileLayer.