public class TestAppStates extends LegacyApplication
assetManager, audioRenderer, cam, context, guiViewPort, inputEnabled, inputManager, joyInput, keyInput, listener, lostFocusBehavior, mouseInput, paused, prof, renderer, renderManager, settings, speed, stateManager, timer, touchInput, viewPort
Constructor and Description |
---|
TestAppStates() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Do not call manually.
|
void |
initialize()
Do not call manually.
|
static void |
main(java.lang.String[] args) |
void |
start(JmeContext.Type contextType)
Starts the application.
|
void |
update()
Do not call manually.
|
createCanvas, 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
public static void main(java.lang.String[] args)
public void start(JmeContext.Type contextType)
LegacyApplication
start
in class LegacyApplication
public void initialize()
LegacyApplication
Initializes the Application
, by creating a display and
default camera. If display settings are not specified, a default
640x480 display is created. Default values are used for the camera;
perspective projection with 45° field of view, with near
and far values 1 and 1000 units respectively.
initialize
in interface SystemListener
initialize
in class LegacyApplication
public void update()
LegacyApplication
update
in interface SystemListener
update
in class LegacyApplication
public void destroy()
LegacyApplication
destroy
in interface SystemListener
destroy
in class LegacyApplication