summaryrefslogtreecommitdiffstats
path: root/desktop/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/src/ch/asynk/rustanddust')
-rw-r--r--desktop/src/ch/asynk/rustanddust/desktop/DesktopLauncher.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/desktop/src/ch/asynk/rustanddust/desktop/DesktopLauncher.java b/desktop/src/ch/asynk/rustanddust/desktop/DesktopLauncher.java
new file mode 100644
index 0000000..61f2fbc
--- /dev/null
+++ b/desktop/src/ch/asynk/rustanddust/desktop/DesktopLauncher.java
@@ -0,0 +1,18 @@
+package ch.asynk.rustanddust.desktop;
+
+import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
+import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
+import com.badlogic.gdx.Files;
+import ch.asynk.rustanddust.RustAndDust;
+
+public class DesktopLauncher {
+ public static void main (String[] arg) {
+ LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
+ config.title = "Dust And Rust";
+ config.width = 1024;
+ config.height = 768;
+ // config.fullscreen = true;
+ config.addIcon("data/icon.png", Files.FileType.Internal);
+ new LwjglApplication(new RustAndDust(), config);
+ }
+}