Class MonkeyApp

  • All Implemented Interfaces:
    com.jme3.animation.AnimEventListener, com.jme3.system.SystemListener

    public class MonkeyApp
    extends AMonkeyFunctions
    The Application that renders the 3d output for Jadex in the Jmonkey Engine it get the refreshed Geometry and Static Objects from the Viewport
    • Constructor Detail

      • MonkeyApp

        public MonkeyApp​(float dim,
                         float appScaled,
                         float spaceSize,
                         boolean isGrid,
                         boolean shader,
                         java.lang.String camera,
                         java.lang.String guiCreatorPath,
                         ISpaceController spaceController)
    • Method Detail

      • simpleInitApp

        public void simpleInitApp()
        Specified by:
        simpleInitApp in class com.jme3.app.SimpleApplication
      • simpleUpdate

        public void simpleUpdate​(float tpf)
        Overrides:
        simpleUpdate in class com.jme3.app.SimpleApplication
      • setStaticGeometry

        public void setStaticGeometry​(com.jme3.scene.Node staticNode)
      • getHeightAt

        public float getHeightAt​(com.jme3.math.Vector2f vec)
      • isGuiActive

        public boolean isGuiActive()
        Returns:
        the guiActive
      • setGuiActive

        public void setGuiActive​(boolean guiActive)
        Parameters:
        guiActive - the guiActive to set