1 package ru
.deadsoftware
.cavedroid
.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
.cavedroid
.CaveGame
;
8 public class DesktopLauncher
{
9 public static void main (String
[] arg
) {
10 LwjglApplicationConfiguration config
= new LwjglApplicationConfiguration();
11 config
.addIcon("icons/icon256.png", Files
.FileType
.Internal
);
12 config
.addIcon("icons/icon128.png", Files
.FileType
.Internal
);
13 config
.foregroundFPS
= 144;
14 config
.title
= "CaveDroid";
18 boolean touch
= false;
19 for (String anArg
: arg
) {
20 if (anArg
.equals("--touch")) touch
= true;
22 new LwjglApplication(new CaveGame(System
.getProperty("user.home") + "/.cavedroid", touch
), config
);