Program.cs 685 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using Foundation;
  3. using UIKit;
  4. namespace XMLContentLoadingSample.iOS
  5. {
  6. [Register("AppDelegate")]
  7. class Program : UIApplicationDelegate
  8. {
  9. private static Particle3DSampleGame game;
  10. internal static void RunGame()
  11. {
  12. game = new Particle3DSampleGame();
  13. game.Run();
  14. }
  15. /// <summary>
  16. /// The main entry point for the application.
  17. /// </summary>
  18. static void Main(string[] args)
  19. {
  20. UIApplication.Main(args, null, "AppDelegate");
  21. }
  22. public override void FinishedLaunching(UIApplication app)
  23. {
  24. RunGame();
  25. }
  26. }
  27. }