Package | Description |
---|---|
cell2d.space |
Modifier and Type | Method and Description |
---|---|
HUD<T> |
SpaceState.getHUD()
Returns the HUD that is currently assigned to this SpaceState, or null if
there is none.
|
HUD<T> |
Viewport.getHUD()
Returns the HUD that is currently assigned to this Viewport, or null if
there is none.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SpaceState.setHUD(HUD<T> hud)
Sets the HUD that is assigned to this SpaceState to the specified HUD, if
it is not already assigned to a SpaceState.
|
boolean |
Viewport.setHUD(HUD<T> hud)
Sets the HUD that is assigned to this Viewport to the specified HUD, if
it is not already assigned to a SpaceState.
|
Constructor and Description |
---|
Viewport(HUD<T> hud,
long x1,
long y1,
long x2,
long y2)
Creates a new Viewport that occupies the specified region of the screen.
|