Program.cs 646 B

123456789101112131415161718192021222324252627
  1. // ...existing code from Program.iOS.cs will be moved here...
  2. using System;
  3. using Foundation;
  4. using UIKit;
  5. namespace Microsoft.Xna.Samples.MultiTouch
  6. {
  7. [Register("AppDelegate")]
  8. public class AppDelegate : UIApplicationDelegate
  9. {
  10. private Game1 game;
  11. public override void FinishedLaunching(UIApplication app)
  12. {
  13. game = new Game1();
  14. game.Run();
  15. }
  16. /// <summary>
  17. /// The main entry point for the application.
  18. /// </summary>
  19. static void Main(string[] args)
  20. {
  21. UIApplication.Main(args, null, typeof(AppDelegate));
  22. }
  23. }
  24. }