Program.cs 620 B

1234567891011121314151617181920212223242526
  1. using Foundation;
  2. using UIKit;
  3. using Microsoft.Xna.Framework;
  4. namespace GameComponents.iOS
  5. {
  6. [Register("AppDelegate")]
  7. public class AppDelegate : UIApplicationDelegate
  8. {
  9. public override UIWindow Window { get; set; }
  10. Game1 game;
  11. public override bool FinishedLaunching(UIApplication app, NSDictionary options)
  12. {
  13. game = new Game1();
  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. }