progress
This commit is contained in:
@@ -21,13 +21,16 @@ public class IOSLauncher extends IOSApplication.Delegate {
|
||||
config.preferredFramesPerSecond = 30;
|
||||
config.useAccelerometer=false;
|
||||
config.useCompass=false;
|
||||
System.out.println("application created.");
|
||||
|
||||
RT.var("clojure.core", "require").invoke(Symbol.intern("advent.core"));
|
||||
System.out.println("clojure loaded");
|
||||
try {
|
||||
NSDictionary infoDictionary = NSBundle.getMainBundle().getInfoDictionary();
|
||||
String version = infoDictionary.get(new NSString("CFBundleShortVersionString")).toString();
|
||||
RT.var("advent.version", "version-override").bindRoot(version);
|
||||
Game game = (Game) RT.var("advent.core", "advent").deref();
|
||||
System.out.println("game loaded");
|
||||
return new IOSApplication(game, config);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user