2015-04-08 15:59:01 +02:00
|
|
|
package com.saltosion.gladiator.desktop;
|
|
|
|
|
2015-05-18 03:53:43 +02:00
|
|
|
import com.badlogic.gdx.Files;
|
2015-04-08 15:59:01 +02:00
|
|
|
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
|
|
|
|
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
|
|
|
|
import com.saltosion.gladiator.GladiatorBrawler;
|
2015-04-10 16:30:30 +02:00
|
|
|
import com.saltosion.gladiator.util.Name;
|
2015-04-08 15:59:01 +02:00
|
|
|
|
|
|
|
public class DesktopLauncher {
|
2015-05-13 22:40:57 +02:00
|
|
|
|
|
|
|
public static void main(String[] args) {
|
2015-04-08 15:59:01 +02:00
|
|
|
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
|
2015-04-10 16:30:30 +02:00
|
|
|
config.title = Name.GAME_NAME;
|
2015-04-08 20:41:12 +02:00
|
|
|
config.width = 1280;
|
|
|
|
config.height = 720;
|
2015-05-13 22:40:57 +02:00
|
|
|
config.vSyncEnabled = true; // Change this to false for performance testing
|
|
|
|
config.foregroundFPS = 0;
|
2015-05-18 03:53:43 +02:00
|
|
|
config.addIcon("sprites/icon_16.png", Files.FileType.Internal);
|
|
|
|
config.addIcon("sprites/icon_32.png", Files.FileType.Internal);
|
|
|
|
config.addIcon("sprites/icon_128.png", Files.FileType.Internal);
|
2015-05-13 22:40:57 +02:00
|
|
|
LwjglApplication app = new LwjglApplication(new GladiatorBrawler(), config);
|
2015-04-08 15:59:01 +02:00
|
|
|
}
|
|
|
|
}
|