Package | Description |
---|---|
cell2d.space |
Modifier and Type | Method and Description |
---|---|
SpaceState<T> |
Hitbox.getGameState()
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.
|
SpaceState<T> |
SpaceObject.getGameState()
Returns the SpaceState to which this SpaceObject is assigned, or null if
it is not assigned to one.
|
SpaceState<T> |
SpaceObject.getNewGameState()
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.
|
SpaceState<T> |
SpaceState.getThis() |
Modifier and Type | Method and Description |
---|---|
void |
ThinkerObject.addedActions(T game,
SpaceState<T> state)
Actions for this ThinkerObject to take immediately after being added to a
new SpaceState.
|
void |
SpaceThinker.beforeMovementActions(T game,
SpaceState<T> state)
Actions for this SpaceThinker to take once every frame, after
SpaceThinkers take their timeUnitActions() but before its SpaceState
moves its assigned ThinkerObjects.
|
void |
ThinkerObject.beforeMovementActions(T game,
SpaceState<T> state)
Actions for this ThinkerObject to take once every frame, after
SpaceThinkers take their timeUnitActions() but before its SpaceState
moves its assigned ThinkerObjects.
|
void |
ThinkerObject.frameActions(T game,
SpaceState<T> state)
Actions for this ThinkerObject to take once every frame after its
SpaceState moves its assigned ThinkerObjects.
|
abstract java.util.Collection<SpaceObject<T>> |
Area.load(T game,
SpaceState<T> state)
Actions for this Area to take in order for the specified SpaceState to
load it.
|
void |
ThinkerObject.removedActions(T game,
SpaceState<T> state)
Actions for this ThinkerObject to take immediately before being removed
from its current SpaceState.
|
abstract void |
HUD.renderActions(T game,
SpaceState<T> state,
org.newdawn.slick.Graphics g,
int x1,
int y1,
int x2,
int y2)
Actions for this HUD to take to render its visuals.
|
abstract void |
SpaceLayer.renderActions(T game,
SpaceState<T> state,
org.newdawn.slick.Graphics g,
long x,
long y,
int x1,
int y1,
int x2,
int y2)
Actions for this SpaceLayer to take to render its visuals through a
Viewport's camera.
|
void |
SpaceObject.setGameState(SpaceState<T> state)
Sets the SpaceState to which this SpaceObject is assigned.
|
void |
MobileObject.setGameState(SpaceState<T> state,
boolean bringFollowers)
Sets the SpaceState to which this MobileObject is currently assigned.
|
void |
ThinkerObject.timeUnitActions(T game,
SpaceState<T> state)
Actions for this ThinkerObject to take once every time unit, after
AnimationInstances update their indices but before SpaceThinkers take
their beforeMovementActions().
|