|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jmex.game.state.GameState
com.jmex.game.state.BasicGameState
com.jmex.awt.swingui.JMEDesktopState
public class JMEDesktopState
Field Summary |
---|
Fields inherited from class com.jmex.game.state.BasicGameState |
---|
rootNode |
Fields inherited from class com.jmex.game.state.GameState |
---|
active, name, parent |
Constructor Summary | |
---|---|
JMEDesktopState()
|
|
JMEDesktopState(boolean variableDesktopSize)
|
|
JMEDesktopState(int width,
int height)
|
Method Summary | |
---|---|
protected void |
buildUI()
|
void |
cleanup()
Empty. |
JMEDesktop |
getDesktop()
|
Node |
getGUINode()
|
InputHandler |
getInputHandler()
|
void |
render(float tpf)
Draws the rootNode. |
void |
update(float tpf)
Updates the rootNode. |
Methods inherited from class com.jmex.game.state.BasicGameState |
---|
getRootNode |
Methods inherited from class com.jmex.game.state.GameState |
---|
getName, getParent, isActive, setActive, setName, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMEDesktopState()
public JMEDesktopState(int width, int height)
public JMEDesktopState(boolean variableDesktopSize)
Method Detail |
---|
protected void buildUI()
public void update(float tpf)
BasicGameState
update
in class BasicGameState
tpf
- The elapsed time since last frame.GameState.update(float)
public void render(float tpf)
BasicGameState
render
in class BasicGameState
tpf
- The elapsed time since last frame.GameState.render(float)
public void cleanup()
BasicGameState
cleanup
in class BasicGameState
GameState.cleanup()
public Node getGUINode()
public JMEDesktop getDesktop()
public InputHandler getInputHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |