mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-09 23:07:35 +07:00
57ed61af41
* Add serialization version to GameInfo * Add handling of incompatible saves due to a dfiferent save version * Fix compilation? * Fix ios compilation * Refactor: Make it clearer that GameInfo serialization version is only supposed to be incremented when it's guaranteed to cause issues & rename to compatibility version * Update initial version * Update initial version * Fix merge mistake
22 lines
722 B
Java
22 lines
722 B
Java
package com.unciv.app;
|
|
|
|
import com.badlogic.gdx.backends.iosrobovm.IOSApplication;
|
|
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration;
|
|
|
|
import org.robovm.apple.foundation.NSAutoreleasePool;
|
|
import org.robovm.apple.uikit.UIApplication;
|
|
|
|
class IOSLauncher extends IOSApplication.Delegate {
|
|
@Override
|
|
protected IOSApplication createApplication() {
|
|
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
|
|
return new IOSApplication(new com.unciv.UncivGame(), config);
|
|
}
|
|
|
|
public static void main(String[] argv) {
|
|
NSAutoreleasePool pool = new NSAutoreleasePool();
|
|
UIApplication.main(argv, null, IOSLauncher.class);
|
|
pool.close();
|
|
}
|
|
}
|