Main.cs 474 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using MonoTouch.Foundation;
  5. using MonoTouch.UIKit;
  6. namespace MonoGame.Samples.Input
  7. {
  8. [Register ("AppDelegate")]
  9. class Program : UIApplicationDelegate
  10. {
  11. private Game1 game;
  12. public override void FinishedLaunching (UIApplication app)
  13. {
  14. // Fun begins..
  15. game = new Game1();
  16. game.Run();
  17. }
  18. static void Main (string [] args)
  19. {
  20. UIApplication.Main (args,null,"AppDelegate");
  21. }
  22. }
  23. }