public class ChunkManager
extends com.jme3.app.state.BaseAppState
| Constructor and Description |
|---|
ChunkManager() |
| 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.
|
jme3utilities.math.Vector3i |
originChunk()
Determine which chunk is at the scene's origin.
|
void |
update(float tpf)
Callback to update this AppState, invoked once per frame when the
AppState is both attached and enabled.
|
public jme3utilities.math.Vector3i originChunk()
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)