jmetest.game.state
Class MenuState

java.lang.Object
  extended bycom.jme.app.StandardGameState
      extended byjmetest.game.state.MenuState
All Implemented Interfaces:
GameState

public class MenuState
extends StandardGameState

Author:
Per Thulin

Field Summary
 
Fields inherited from class com.jme.app.StandardGameState
cam, input, stateNode
 
Constructor Summary
MenuState()
           
 
Method Summary
protected  void initInput()
          Inits the input handler we will use for navigation of the menu.
 void switchTo()
          Empty.
 void update(float tpf)
          Updates input and button.
 
Methods inherited from class com.jme.app.StandardGameState
cleanup, getCamera, getStateNode, render, setCamera
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuState

public MenuState()
Method Detail

switchTo

public void switchTo()
Description copied from class: StandardGameState
Empty.

Specified by:
switchTo in interface GameState
Overrides:
switchTo in class StandardGameState
See Also:
GameStateManager.switchTo(String)

initInput

protected void initInput()
Inits the input handler we will use for navigation of the menu.

Specified by:
initInput in class StandardGameState
See Also:
StandardGameState.initInput()

update

public void update(float tpf)
Updates input and button.

Specified by:
update in interface GameState
Overrides:
update in class StandardGameState
Parameters:
tpf - The time since last frame.
See Also:
GameState#update(float)