| Package | Description |
|---|---|
| org.cell2d | |
| org.cell2d.space | |
| org.cell2d.space.basic | |
| org.cell2d.space.map |
| Class and Description |
|---|
| Hitbox
A Hitbox is a region of space that can be checked for intersection with
other regions.
|
| SpaceObject
A SpaceObject is a physical object in a SpaceState's space.
|
| Class and Description |
|---|
| Area
An Area is a pattern of SpaceObjects that can be generated and loaded by a
SpaceState on demand.
|
| CircleHitbox
A CircleHitbox is a circular Hitbox with its origin at its center.
|
| CollisionResponse
A CollisionResponse is a possible response that a MobileObject can have
to colliding with a solid surface.
|
| CompositeHitbox
A CompositeHitbox is a Hitbox that is composed of other Hitboxes whose
positions, flipped statuses, and angles of rotation are all relative to those
of the CompositeHitbox itself.
|
| Hitbox
A Hitbox is a region of space that can be checked for intersection with
other regions.
|
| HUD
An HUD (heads-up display) renders visuals in front of those of the
Viewports or SpaceStates to which it is assigned.
|
| LineHitbox
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.
|
| MobileObject
A MobileObject is a SpaceObject that can simulate continuous movement
through its SpaceState's space.
|
| PointHitbox
A PointHitbox is a Hitbox that consists only of the point that is its
absolute position.
|
| PolygonHitbox
A PolygonHitbox is a polygonal Hitbox defined by a List of vertices.
|
| RectangleHitbox
A RectangleHitbox is a rectangular Hitbox with sides that remain
orthogonal regardless of its angle of rotation.
|
| SpaceLayer
A SpaceLayer renders visuals either in front of or behind those of the
SpaceObjects in the SpaceStates to which it is assigned.
|
| SpaceObject
A SpaceObject is a physical object in a SpaceState's space.
|
| SpaceState
A SpaceState is a type of GameState that handles gameplay in a continuous
two-dimensional space.
|
| SpaceState.DrawMode
A DrawMode is a procedure by which a SpaceState determines the order
in which to draw SpaceObjects with the same draw priority over one
another.
|
| SpaceThinker
A SpaceThinker is the type of SubThinker that is used by SpaceStates.
|
| Viewport
A Viewport represents a rectangular region of the screen through which the
space of the SpaceState to which it is assigned can be viewed.
|
| Class and Description |
|---|
| Area
An Area is a pattern of SpaceObjects that can be generated and loaded by a
SpaceState on demand.
|
| MobileObject
A MobileObject is a SpaceObject that can simulate continuous movement
through its SpaceState's space.
|
| SpaceObject
A SpaceObject is a physical object in a SpaceState's space.
|
| SpaceState
A SpaceState is a type of GameState that handles gameplay in a continuous
two-dimensional space.
|
| SpaceState.DrawMode
A DrawMode is a procedure by which a SpaceState determines the order
in which to draw SpaceObjects with the same draw priority over one
another.
|
| SpaceThinker
A SpaceThinker is the type of SubThinker that is used by SpaceStates.
|
| ThinkerObject
A ThinkerObject is a MobileObject that mimics a type of SpaceThinker by
permanently assigning to itself a SpaceThinker of that type.
|
| Class and Description |
|---|
| Area
An Area is a pattern of SpaceObjects that can be generated and loaded by a
SpaceState on demand.
|
| RectangleHitbox
A RectangleHitbox is a rectangular Hitbox with sides that remain
orthogonal regardless of its angle of rotation.
|
| SpaceObject
A SpaceObject is a physical object in a SpaceState's space.
|
| SpaceState
A SpaceState is a type of GameState that handles gameplay in a continuous
two-dimensional space.
|