public class Gdx
- extends java.lang.Object
Environment class holding references to the
Input instances. The references are held in public static fields. Do not mess with this! This essentially allows you
static access to all sub systems. It is your responsiblity to keep things thread safe. Don't use Graphics in a thread that is
not the rendering thread or things will go crazy. Really.
There's also references to
GLU. The same rules as above
apply. Don't mess with this or things will break!
This is kind of messy but better than throwing around Graphics and similar instances. I'm aware of the design faux pas.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static Application app
public static Graphics graphics
public static Audio audio
public static Input input
public static Files files
public static GLCommon gl
public static GL10 gl10
public static GL11 gl11
public static GL20 gl20
public static GLU glu
Copyright 2010 Mario Zechner (firstname.lastname@example.org), Nathan Sweet (email@example.com)