Search in sources :

Example 1 with GameAdapter

use of com.csc480.game.GameAdapter in project Red-Team by CSC480-18S.

the class DesktopLauncher method main.

public static void main(String[] arg) {
    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
    // config.fullscreen = true;
    config.height = 1080;
    config.width = 1920;
    if (arg.length == 0)
        new LwjglApplication(new GameAdapter(), config);
    else if (arg[0].compareTo("-stats") == 0)
        new LwjglApplication(new StatsAdapter(), config);
}
Also used : LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication) LwjglApplicationConfiguration(com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration) StatsAdapter(com.csc480.stats.StatsAdapter) GameAdapter(com.csc480.game.GameAdapter)

Aggregations

LwjglApplication (com.badlogic.gdx.backends.lwjgl.LwjglApplication)1 LwjglApplicationConfiguration (com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)1 GameAdapter (com.csc480.game.GameAdapter)1 StatsAdapter (com.csc480.stats.StatsAdapter)1