Class PhysicsChunkPagerState

java.lang.Object
com.jme3.app.state.BaseAppState
com.rvandoosselaer.blocks.PhysicsChunkPagerState
All Implemented Interfaces:
com.jme3.app.state.AppState

public class PhysicsChunkPagerState extends com.jme3.app.state.BaseAppState
An AppState implementation that manages the lifecycle of a PhysicsChunkPager.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PhysicsChunkPagerState(com.jme3.bullet.PhysicsSpace physicsSpace, ChunkManager chunkManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    cleanup(com.jme3.app.Application app)
     
    com.jme3.math.Vector3f
     
    com.jme3.bullet.PhysicsSpace
     
    protected void
    initialize(com.jme3.app.Application app)
     
    protected void
     
    protected void
     
    void
    setLocation(com.jme3.math.Vector3f location)
     
    void
    setPhysicsSpace(@NonNull com.jme3.bullet.PhysicsSpace physicsSpace)
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PhysicsChunkPagerState

      public PhysicsChunkPagerState(com.jme3.bullet.PhysicsSpace physicsSpace, ChunkManager chunkManager)
  • Method Details

    • initialize

      protected void initialize(com.jme3.app.Application app)
      Specified by:
      initialize in class com.jme3.app.state.BaseAppState
    • cleanup

      protected void cleanup(com.jme3.app.Application app)
      Specified by:
      cleanup in class com.jme3.app.state.BaseAppState
    • onEnable

      protected void onEnable()
      Specified by:
      onEnable in class com.jme3.app.state.BaseAppState
    • onDisable

      protected void onDisable()
      Specified by:
      onDisable in class com.jme3.app.state.BaseAppState
    • update

      public void update(float tpf)
      Specified by:
      update in interface com.jme3.app.state.AppState
      Overrides:
      update in class com.jme3.app.state.BaseAppState
    • setPhysicsSpace

      public void setPhysicsSpace(@NonNull @NonNull com.jme3.bullet.PhysicsSpace physicsSpace)
    • getPhysicsSpace

      public com.jme3.bullet.PhysicsSpace getPhysicsSpace()
    • setLocation

      public void setLocation(com.jme3.math.Vector3f location)
    • getLocation

      public com.jme3.math.Vector3f getLocation()