public class CompassState
extends com.jme3.app.state.BaseAppState
| Modifier and Type | Field and Description |
|---|---|
static java.util.logging.Logger |
logger
message logger for this class
|
| Constructor and Description |
|---|
CompassState()
Instantiate an enabled compass.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(com.jme3.app.Application application)
Callback invoked after this AppState is detached or during application
shutdown if the state is still attached.
|
protected void |
initialize(com.jme3.app.Application application)
Callback invoked after this AppState is attached but before onEnable().
|
protected void |
onDisable()
Callback invoked whenever this AppState ceases to be both attached and
enabled.
|
protected void |
onEnable()
Callback invoked whenever this AppState becomes both attached and
enabled.
|
void |
update(float tpf)
Callback to update this AppState, invoked once per frame when the
AppState is both attached and enabled.
|
public static final java.util.logging.Logger logger
protected void cleanup(com.jme3.app.Application application)
cleanup in class com.jme3.app.state.BaseAppStateapplication - the application instance (not null)protected void initialize(com.jme3.app.Application application)
initialize in class com.jme3.app.state.BaseAppStateapplication - the application instance (not null)protected void onDisable()
onDisable in class com.jme3.app.state.BaseAppStateprotected void onEnable()
onEnable in class com.jme3.app.state.BaseAppStatepublic void update(float tpf)
update in interface com.jme3.app.state.AppStateupdate in class com.jme3.app.state.BaseAppStatetpf - the time interval between frames (in seconds, ≥0)