summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--android/assets/icon.pngbin0 -> 2319 bytes
-rw-r--r--desktop/src/ch/asynk/tankontank/desktop/DesktopLauncher.java2
2 files changed, 2 insertions, 0 deletions
diff --git a/android/assets/icon.png b/android/assets/icon.png
new file mode 100644
index 0000000..eab1073
--- /dev/null
+++ b/android/assets/icon.png
Binary files differ
diff --git a/desktop/src/ch/asynk/tankontank/desktop/DesktopLauncher.java b/desktop/src/ch/asynk/tankontank/desktop/DesktopLauncher.java
index b309b9b..873b65c 100644
--- a/desktop/src/ch/asynk/tankontank/desktop/DesktopLauncher.java
+++ b/desktop/src/ch/asynk/tankontank/desktop/DesktopLauncher.java
@@ -2,6 +2,7 @@ package ch.asynk.tankontank.desktop;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
+import com.badlogic.gdx.Files;
import ch.asynk.tankontank.TankOnTank;
public class DesktopLauncher {
@@ -10,6 +11,7 @@ public class DesktopLauncher {
config.title = "Tank On Tank";
config.width = 800;
config.height = 682;
+ config.addIcon("icon.png", Files.FileType.Internal);
new LwjglApplication(new TankOnTank(), config);
}
}