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.BaseAppStateAn AppState implementation that manages the lifecycle of aChunkPager.
-
-
Constructor Summary
Constructors Constructor Description ChunkPagerState(com.jme3.scene.Node node, BlocksManager blocksManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcleanup(com.jme3.app.Application app)com.jme3.math.Vector3fgetLocation()protected voidinitialize(com.jme3.app.Application app)protected voidonDisable()protected voidonEnable()voidsetLocation(com.jme3.math.Vector3f location)voidupdate(float tpf)
-
-
-
Constructor Detail
-
ChunkPagerState
public ChunkPagerState(com.jme3.scene.Node node, BlocksManager blocksManager)
-
-
Method Detail
-
initialize
protected void initialize(com.jme3.app.Application app)
- Specified by:
initializein classcom.jme3.app.state.BaseAppState
-
cleanup
protected void cleanup(com.jme3.app.Application app)
- Specified by:
cleanupin classcom.jme3.app.state.BaseAppState
-
onEnable
protected void onEnable()
- Specified by:
onEnablein classcom.jme3.app.state.BaseAppState
-
onDisable
protected void onDisable()
- Specified by:
onDisablein classcom.jme3.app.state.BaseAppState
-
update
public void update(float tpf)
- Specified by:
updatein interfacecom.jme3.app.state.AppState- Overrides:
updatein classcom.jme3.app.state.BaseAppState
-
setLocation
public void setLocation(com.jme3.math.Vector3f location)
-
getLocation
public com.jme3.math.Vector3f getLocation()
-
-