Program.cs 561 B

123456789101112131415161718192021222324252627
  1. using Foundation;
  2. using UIKit;
  3. namespace RacingGame.iOS
  4. {
  5. [Register("AppDelegate")]
  6. internal class Program : UIApplicationDelegate
  7. {
  8. private static RacingGameManager game;
  9. internal static void RunGame()
  10. {
  11. game = new RacingGameManager();
  12. game.Run();
  13. }
  14. static void Main(string[] args)
  15. {
  16. UIApplication.Main(args, null, typeof(Program));
  17. }
  18. public override void FinishedLaunching(UIApplication app)
  19. {
  20. RunGame();
  21. }
  22. }
  23. }