de.lessvoid.nifty.examples.defaultcontrols
Class LwjglInitHelper
java.lang.Object
de.lessvoid.nifty.examples.defaultcontrols.LwjglInitHelper
public class LwjglInitHelper
- extends Object
Helper class shared by all the examples to initialize lwjgl and stuff.
- Author:
- void
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LwjglInitHelper
public LwjglInitHelper()
getInputSystem
public static de.lessvoid.nifty.renderer.lwjgl.input.LwjglInputSystem getInputSystem()
initSubSystems
public static boolean initSubSystems(String title)
- Init SubSystems.
- Parameters:
title
- title pf window
- Returns:
- true on success and false otherwise
renderLoop
public static void renderLoop(Nifty nifty,
LwjglInitHelper.RenderLoopCallback callback)
- Parameters:
nifty
- nifty instanceeditor
- callback
- callback
destroy
public static void destroy()
- destroy all and quit.
Copyright © 2011. All Rights Reserved.