ColorRunner/core/src/de/samdev/colorrunner/CRGame.java

23 lines
450 B
Java

package de.samdev.colorrunner;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import de.samdev.colorrunner.screens.menu.SplashScreen;
public class CRGame extends Game {
public final static boolean DEBUG = true;
@Override
public void create() {
//if (DEBUG)
// setScreen(new GameScreen());
//else
setScreen(new SplashScreen());
}
public static CRGame Inst() {
return ((CRGame) Gdx.app.getApplicationListener());
}
}