public class TestIssue99 extends SimpleApplication implements de.lessvoid.nifty.screen.ScreenController
If successful, two text labels will be legible. If unsuccessful, only the top one will be legible.
flyCam, fpsText, guiFont, guiNode, INPUT_MAPPING_CAMERA_POS, INPUT_MAPPING_EXIT, INPUT_MAPPING_HIDE_STATS, INPUT_MAPPING_MEMORY, rootNode, showSettings
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 |
---|
TestIssue99() |
Modifier and Type | Method and Description |
---|---|
void |
bind(de.lessvoid.nifty.Nifty nifty,
de.lessvoid.nifty.screen.Screen screen)
A callback from Nifty, invoked when the screen gets enabled for the first
time.
|
static void |
main(java.lang.String[] args) |
void |
onEndScreen()
A callback from Nifty, invoked each time the screen shuts down.
|
void |
onStartScreen()
A callback from Nifty, invoked each time the screen starts up.
|
void |
simpleInitApp() |
getFlyByCamera, getGuiNode, getRootNode, getSpeed, initialize, isShowSettings, loadGuiFont, setDisplayFps, setDisplayStatView, setShowSettings, setSpeed, simpleRender, simpleUpdate, start, update
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
public static void main(java.lang.String[] args)
public void simpleInitApp()
simpleInitApp
in class SimpleApplication
public void bind(de.lessvoid.nifty.Nifty nifty, de.lessvoid.nifty.screen.Screen screen)
bind
in interface de.lessvoid.nifty.screen.ScreenController
nifty
- (not null)screen
- (not null)public void onEndScreen()
onEndScreen
in interface de.lessvoid.nifty.screen.ScreenController
public void onStartScreen()
onStartScreen
in interface de.lessvoid.nifty.screen.ScreenController