Class JmeLauncher

  • All Implemented Interfaces:
    com.jme3.app.Application, com.jme3.system.SystemListener

    public abstract class JmeLauncher
    extends com.jme3.app.SimpleApplication
    An abstract class that can be used as a starting point for a JME application. This implementation handles some default boilerplate code as: - configure logging - loading and setting application settings using ApplicationSettingsFactory - removing default key mappings - initializing Lemur GuiGlobals - initializing ApplicationGlobals
    • Field Summary

      • Fields inherited from class com.jme3.app.SimpleApplication

        flyCam, fpsText, guiFont, guiNode, INPUT_MAPPING_CAMERA_POS, INPUT_MAPPING_EXIT, INPUT_MAPPING_HIDE_STATS, INPUT_MAPPING_MEMORY, rootNode, showSettings
      • Fields inherited from class com.jme3.app.LegacyApplication

        assetManager, audioRenderer, cam, context, guiViewPort, inputEnabled, inputManager, joyInput, keyInput, listener, lostFocusBehavior, mouseInput, paused, prof, renderer, renderManager, settings, speed, stateManager, timer, touchInput, viewPort
    • Constructor Summary

      Constructors 
      Constructor Description
      JmeLauncher()  
      JmeLauncher​(com.jme3.app.state.AppState... initialStates)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void init()  
      void simpleInitApp()  
      • Methods inherited from class com.jme3.app.SimpleApplication

        getFlyByCamera, getGuiNode, getRootNode, getSpeed, initialize, isShowSettings, loadGuiFont, setDisplayFps, setDisplayStatView, setShowSettings, setSpeed, simpleRender, simpleUpdate, start, update
      • Methods inherited from class com.jme3.app.LegacyApplication

        createCanvas, destroy, destroyInput, enqueue, enqueue, gainFocus, getAppProfiler, getAssetManager, getAudioRenderer, getCamera, getContext, getGuiViewPort, getInputManager, getListener, getLostFocusBehavior, getRenderer, getRenderManager, getStateManager, getTimer, getViewPort, handleError, isPauseOnLostFocus, loseFocus, requestClose, reshape, restart, runQueuedTasks, setAppProfiler, setAssetManager, setLostFocusBehavior, setPauseOnLostFocus, setSettings, setTimer, start, start, start, startCanvas, startCanvas, stop, stop
      • Methods inherited from class java.lang.Object

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

      • JmeLauncher

        public JmeLauncher()
      • JmeLauncher

        public JmeLauncher​(com.jme3.app.state.AppState... initialStates)
    • Method Detail

      • simpleInitApp

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

        public abstract void init()