diff options
Diffstat (limited to 'ios/src/ch/asynk')
-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 |