summaryrefslogtreecommitdiffstats
path: root/android/src/ch/asynk/zproject/AndroidLauncher.java
diff options
context:
space:
mode:
Diffstat (limited to 'android/src/ch/asynk/zproject/AndroidLauncher.java')
-rw-r--r--android/src/ch/asynk/zproject/AndroidLauncher.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/android/src/ch/asynk/zproject/AndroidLauncher.java b/android/src/ch/asynk/zproject/AndroidLauncher.java
new file mode 100644
index 0000000..a6060bf
--- /dev/null
+++ b/android/src/ch/asynk/zproject/AndroidLauncher.java
@@ -0,0 +1,16 @@
+package ch.asynk.zproject;
+
+import android.os.Bundle;
+
+import com.badlogic.gdx.backends.android.AndroidApplication;
+import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
+import ch.asynk.zproject.ZProject;
+
+public class AndroidLauncher extends AndroidApplication {
+ @Override
+ protected void onCreate (Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
+ initialize(new ZProject(), config);
+ }
+}