Program.cs 734 B

123456789101112131415161718192021222324252627282930
  1. #region Using Statements
  2. using System;
  3. using MonoTouch.Foundation;
  4. using MonoTouch.UIKit;
  5. using Microsoft.Xna;
  6. using Microsoft.Xna.Framework.Media;
  7. #endregion
  8. namespace Microsoft.Xna.Samples.MultiTouch
  9. {
  10. [Register("AppDelegate")]
  11. class Program : UIApplicationDelegate
  12. {
  13. Game1 game;
  14. public override void FinishedLaunching(UIApplication app)
  15. {
  16. // Fun begins..
  17. game = new Game1();
  18. game.Run();
  19. }
  20. /// <summary>
  21. /// The main entry point for the application.
  22. /// </summary>
  23. static void Main(string[] args)
  24. {
  25. UIApplication.Main(args, null, "AppDelegate");
  26. }
  27. }
  28. }