Package com.badlogic.gdx
Class Gdx
- java.lang.Object
-
- com.badlogic.gdx.Gdx
-
public class Gdx extends java.lang.Object
Environment class holding references to theApplication
,Graphics
,Audio
,Files
andInput
instances. The references are held in public static fields which allows static access to all sub systems. Do not use Graphics in a thread that is not the rendering thread.This is normally a design faux pas but in this case is better than the alternatives.
-
-
Constructor Summary
Constructors Constructor Description Gdx()
-
-
-
Field Detail
-
app
public static Application app
-
graphics
public static Graphics graphics
-
audio
public static Audio audio
-
input
public static Input input
-
files
public static Files files
-
net
public static Net net
-
gl
public static GL20 gl
-
gl20
public static GL20 gl20
-
gl30
public static GL30 gl30
-
gl31
public static GL31 gl31
-
gl32
public static GL32 gl32
-
-