|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.app.state.AbstractAppState
com.jme3.app.FlyCamAppState
public class FlyCamAppState
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 |
---|
public FlyCamAppState()
Method Detail |
---|
public FlyByCamera getCamera()
public void initialize(AppStateManager stateManager, Application app)
AppState
initialize
in interface AppState
initialize
in class AbstractAppState
stateManager
- The state managerpublic void setEnabled(boolean enabled)
AppState
AppState
.
The effect of this call depends on implementation. An
AppState
starts as being enabled by default.
setEnabled
in interface AppState
setEnabled
in class AbstractAppState
enabled
- activate the AppState or not.public void cleanup()
AppState
cleanup
in interface AppState
cleanup
in class AbstractAppState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |