Program.cs 502 B

123456789101112131415161718192021222324252627
  1. using MonoTouch.Foundation;
  2. using MonoTouch.UIKit;
  3. using Microsoft.Xna;
  4. namespace Microsoft.Xna.Samples.VideoSample
  5. {
  6. [Register("AppDelegate")]
  7. class Program : UIApplicationDelegate
  8. {
  9. private Game1 game;
  10. public override void FinishedLaunching (UIApplication app)
  11. {
  12. game = new Game1 ();
  13. game.Run ();
  14. }
  15. /// <summary>
  16. /// The main entry point for the application.
  17. /// </summary>
  18. static void Main (string[] args)
  19. {
  20. UIApplication.Main (args, null, "AppDelegate");
  21. }
  22. }
  23. }