Package com.mygdx.auber
Class Auber
- java.lang.Object
-
- com.badlogic.gdx.Game
-
- com.mygdx.auber.Auber
-
- All Implemented Interfaces:
com.badlogic.gdx.ApplicationListener
public final class Auber extends com.badlogic.gdx.Game
-
-
Field Summary
Fields Modifier and Type Field Description static intVIRTUAL_HEIGHTThe virtual height of the game.static intVIRTUAL_WIDTHThe virtual width of the game.
-
Constructor Summary
Constructors Constructor Description Auber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate()Called when this is created.com.badlogic.gdx.graphics.g2d.SpriteBatchgetBatch()voidrender()Called when a new frame is rendered.
-
-
-
Field Detail
-
VIRTUAL_WIDTH
public static final int VIRTUAL_WIDTH
The virtual width of the game.- See Also:
- Constant Field Values
-
VIRTUAL_HEIGHT
public static final int VIRTUAL_HEIGHT
The virtual height of the game.- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public void create()
Called when this is created.
-
render
public void render()
Called when a new frame is rendered.- Specified by:
renderin interfacecom.badlogic.gdx.ApplicationListener- Overrides:
renderin classcom.badlogic.gdx.Game
-
getBatch
public com.badlogic.gdx.graphics.g2d.SpriteBatch getBatch()
- Returns:
- This Auber's sprite batch.
-
-