Program.cs 650 B

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