Program.cs 760 B

12345678910111213141516171819202122232425262728293031
  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. public override void FinishedLaunching(UIApplication app)
  14. {
  15. // Fun begins..
  16. using (Game1 game = new Game1())
  17. {
  18. game.Run();
  19. }
  20. }
  21. /// <summary>
  22. /// The main entry point for the application.
  23. /// </summary>
  24. static void Main(string[] args)
  25. {
  26. UIApplication.Main(args, null, "AppDelegate");
  27. }
  28. }
  29. }