1 package ru
.deadsoftware
.cavedroid
.desktop
;
3 import com
.badlogic
.gdx
.Files
;
4 import com
.badlogic
.gdx
.backends
.lwjgl3
.Lwjgl3Application
;
5 import com
.badlogic
.gdx
.backends
.lwjgl3
.Lwjgl3ApplicationConfiguration
;
6 import ru
.deadsoftware
.cavedroid
.CaveGame
;
8 class DesktopLauncher
{
9 public static void main (String
[] arg
) {
10 Lwjgl3ApplicationConfiguration config
= new Lwjgl3ApplicationConfiguration();
11 config
.setWindowIcon(Files
.FileType
.Internal
, "icons/icon256.png", "icons/icon128.png");
12 // config.setForegroundFPS(144);
13 config
.setTitle("CaveDroid");
14 config
.setWindowedMode(960, 540);
15 config
.useVsync(false);
17 boolean touch
= false;
18 for (String anArg
: arg
) {
19 if (anArg
.equals("--touch")) {
24 new Lwjgl3Application(new CaveGame(System
.getProperty("user.home") + "/.cavedroid", touch
), config
);