Package com.rvandoosselaer.blocks
Class ChunkPagerState
java.lang.Object
com.jme3.app.state.BaseAppState
com.rvandoosselaer.blocks.ChunkPagerState
- All Implemented Interfaces:
com.jme3.app.state.AppState
public class ChunkPagerState
extends com.jme3.app.state.BaseAppState
An AppState implementation that manages the lifecycle of a
ChunkPager
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
cleanup
(com.jme3.app.Application app) com.jme3.math.Vector3f
protected void
initialize
(com.jme3.app.Application app) protected void
protected void
onEnable()
void
setLocation
(com.jme3.math.Vector3f location) void
update
(float tpf) Methods inherited from class com.jme3.app.state.BaseAppState
cleanup, getApplication, getId, getState, getState, getState, getState, getStateManager, initialize, isEnabled, isInitialized, postRender, render, setEnabled, setId, stateAttached, stateDetached
-
Constructor Details
-
ChunkPagerState
-
-
Method Details
-
initialize
protected void initialize(com.jme3.app.Application app) - Specified by:
initialize
in classcom.jme3.app.state.BaseAppState
-
cleanup
protected void cleanup(com.jme3.app.Application app) - Specified by:
cleanup
in classcom.jme3.app.state.BaseAppState
-
onEnable
protected void onEnable()- Specified by:
onEnable
in classcom.jme3.app.state.BaseAppState
-
onDisable
protected void onDisable()- Specified by:
onDisable
in classcom.jme3.app.state.BaseAppState
-
update
public void update(float tpf) - Specified by:
update
in interfacecom.jme3.app.state.AppState
- Overrides:
update
in classcom.jme3.app.state.BaseAppState
-
setLocation
public void setLocation(com.jme3.math.Vector3f location) -
getLocation
public com.jme3.math.Vector3f getLocation()
-