DEADSOFTWARE

533b65dabb2906803b8643d68f2584bda845ff50
[cavedroid.git] / desktop / src / ru / deadsoftware / cavecraft / desktop / DesktopLauncher.java
1 package ru.deadsoftware.cavecraft.desktop;
3 import com.badlogic.gdx.Files;
4 import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
5 import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
6 import ru.deadsoftware.cavecraft.CaveGame;
8 public class DesktopLauncher {
9 public static void main (String[] arg) {
10 LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
11 config.addIcon("icons/icon128.png", Files.FileType.Internal);
12 config.addIcon("icons/icon32.png", Files.FileType.Internal);
13 config.addIcon("icons/icon16.png", Files.FileType.Internal);
14 config.foregroundFPS = 60;
15 config.title = "CaveCraft";
16 config.width = 960;
17 config.height = 540;
18 new LwjglApplication(new CaveGame(), config);
19 }
20 }