|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The basic frame of a GameState.
| Method Summary | |
void |
cleanup()
Gets called on removal of this game state. |
Camera |
getCamera()
Gets the camera of this state. |
Node |
getStateNode()
Gets the state node of this state. |
void |
render(float tpf)
Gets called every frame by GameStateManager. |
void |
setCamera(Camera cam)
Sets the camera of this state. |
void |
switchTo()
Gets called by GameStateManager when switched to. |
void |
update(float tpf)
Gets called every frame by GameStateManager. |
| Method Detail |
public void update(float tpf)
GameStateManager.
tpf - The time since last frame.public void render(float tpf)
GameStateManager.
tpf - The time since last frame.public void switchTo()
public void cleanup()
public Camera getCamera()
public void setCamera(Camera cam)
public Node getStateNode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||