2014-08-09 22:41:29 +02:00
|
|
|
package de.samdev.colorrunner;
|
|
|
|
|
2014-08-10 00:24:45 +02:00
|
|
|
import com.badlogic.gdx.Game;
|
2017-04-14 01:06:53 +02:00
|
|
|
import com.badlogic.gdx.Gdx;
|
2014-08-09 22:41:29 +02:00
|
|
|
|
2014-08-11 15:47:58 +02:00
|
|
|
import de.samdev.colorrunner.screens.menu.SplashScreen;
|
2014-08-10 00:24:45 +02:00
|
|
|
|
|
|
|
public class CRGame extends Game {
|
2014-08-11 15:36:03 +02:00
|
|
|
public final static boolean DEBUG = true;
|
2014-08-09 22:41:29 +02:00
|
|
|
|
|
|
|
@Override
|
2014-08-10 00:24:45 +02:00
|
|
|
public void create() {
|
2017-04-13 23:30:38 +02:00
|
|
|
//if (DEBUG)
|
|
|
|
// setScreen(new GameScreen());
|
|
|
|
//else
|
2014-08-11 21:21:52 +02:00
|
|
|
setScreen(new SplashScreen());
|
2014-08-09 22:41:29 +02:00
|
|
|
}
|
2017-04-14 01:06:53 +02:00
|
|
|
|
|
|
|
public static CRGame Inst() {
|
|
|
|
return ((CRGame) Gdx.app.getApplicationListener());
|
|
|
|
}
|
2014-08-09 22:41:29 +02:00
|
|
|
}
|