Program.cs 638 B

1234567891011121314151617181920212223242526
  1. // Entry point for iOS platform
  2. using Foundation;
  3. using UIKit;
  4. namespace StarWarrior.iOS
  5. {
  6. [Register("AppDelegate")]
  7. public class AppDelegate : UIApplicationDelegate
  8. {
  9. public override UIWindow Window { get; set; }
  10. StarWarriorGame game;
  11. public override bool FinishedLaunching(UIApplication app, NSDictionary options)
  12. {
  13. game = new StarWarriorGame();
  14. game.Run();
  15. return true;
  16. }
  17. }
  18. public class Application
  19. {
  20. static void Main(string[] args)
  21. {
  22. UIApplication.Main(args, null, typeof(AppDelegate));
  23. }
  24. }
  25. }