AppDelegate.cs 666 B

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