de.lessvoid.nifty.examples.defaultcontrols
Class LwjglInitHelper

java.lang.Object
  extended by 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

Nested Class Summary
static interface LwjglInitHelper.RenderLoopCallback
          RenderLoopCallback.
 
Constructor Summary
LwjglInitHelper()
           
 
Method Summary
static void destroy()
          destroy all and quit.
static de.lessvoid.nifty.renderer.lwjgl.input.LwjglInputSystem getInputSystem()
           
static boolean initSubSystems(String title)
          Init SubSystems.
static void renderLoop(Nifty nifty, LwjglInitHelper.RenderLoopCallback callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LwjglInitHelper

public LwjglInitHelper()
Method Detail

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 instance
editor -
callback - callback

destroy

public static void destroy()
destroy all and quit.



Copyright © 2011. All Rights Reserved.