com.jme3.app
Class FlyCamAppState

java.lang.Object
  extended by com.jme3.app.state.AbstractAppState
      extended by com.jme3.app.FlyCamAppState
All Implemented Interfaces:
AppState

public class FlyCamAppState
extends AbstractAppState

Manages a FlyByCamera.


Field Summary
 
Fields inherited from class com.jme3.app.state.AbstractAppState
initialized
 
Constructor Summary
FlyCamAppState()
           
 
Method Summary
 void cleanup()
          Cleanup the game state.
 FlyByCamera getCamera()
           
 void initialize(AppStateManager stateManager, Application app)
          Called to initialize the AppState.
 void setEnabled(boolean enabled)
          Enable or disable the functionality of the AppState.
 
Methods inherited from class com.jme3.app.state.AbstractAppState
isEnabled, isInitialized, postRender, render, stateAttached, stateDetached, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlyCamAppState

public FlyCamAppState()
Method Detail

getCamera

public FlyByCamera getCamera()

initialize

public void initialize(AppStateManager stateManager,
                       Application app)
Description copied from interface: AppState
Called to initialize the AppState.

Specified by:
initialize in interface AppState
Overrides:
initialize in class AbstractAppState
Parameters:
stateManager - The state manager

setEnabled

public void setEnabled(boolean enabled)
Description copied from interface: AppState
Enable or disable the functionality of the AppState. The effect of this call depends on implementation. An AppState starts as being enabled by default.

Specified by:
setEnabled in interface AppState
Overrides:
setEnabled in class AbstractAppState
Parameters:
enabled - activate the AppState or not.

cleanup

public void cleanup()
Description copied from interface: AppState
Cleanup the game state.

Specified by:
cleanup in interface AppState
Overrides:
cleanup in class AbstractAppState