diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-10 22:59:32 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-10 22:59:32 +0200 |
commit | 86e0e122a475dfd4f627fc95a9458e7527d72a00 (patch) | |
tree | 6c85c5b28d1f94cf146b16039f6df27aeeb484d3 /ios/src/ch/asynk/tankontank | |
download | RustAndDust-86e0e122a475dfd4f627fc95a9458e7527d72a00.zip RustAndDust-86e0e122a475dfd4f627fc95a9458e7527d72a00.tar.gz |
Initial commit
Diffstat (limited to 'ios/src/ch/asynk/tankontank')
-rw-r--r-- | ios/src/ch/asynk/tankontank/IOSLauncher.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ios/src/ch/asynk/tankontank/IOSLauncher.java b/ios/src/ch/asynk/tankontank/IOSLauncher.java new file mode 100644 index 0000000..e9636d9 --- /dev/null +++ b/ios/src/ch/asynk/tankontank/IOSLauncher.java @@ -0,0 +1,22 @@ +package ch.asynk.tankontank; + +import org.robovm.apple.foundation.NSAutoreleasePool; +import org.robovm.apple.uikit.UIApplication; + +import com.badlogic.gdx.backends.iosrobovm.IOSApplication; +import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; +import ch.asynk.tankontank.TankOnTank; + +public class IOSLauncher extends IOSApplication.Delegate { + @Override + protected IOSApplication createApplication() { + IOSApplicationConfiguration config = new IOSApplicationConfiguration(); + return new IOSApplication(new TankOnTank(), config); + } + + public static void main(String[] argv) { + NSAutoreleasePool pool = new NSAutoreleasePool(); + UIApplication.main(argv, null, IOSLauncher.class); + pool.close(); + } +}
\ No newline at end of file |