AppDelegate.cs 421 B

12345678910111213141516171819202122
  1. using Foundation;
  2. using UIKit;
  3. namespace LensFlare
  4. {
  5. [Register("AppDelegate")]
  6. class AppDelegate : UIApplicationDelegate
  7. {
  8. private static LensFlareGame game;
  9. internal static void RunGame()
  10. {
  11. game = new LensFlareGame();
  12. game.Run();
  13. }
  14. public override void FinishedLaunching(UIApplication app)
  15. {
  16. RunGame();
  17. }
  18. }
  19. }