Class Gdx


  • public class Gdx
    extends java.lang.Object
    Environment class holding references to the Application, Graphics, Audio, Files and Input 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.

    • Field Detail

      • 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
    • Constructor Detail

      • Gdx

        public Gdx()