2
0

Program.cs 1023 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #region File Description
  2. //-----------------------------------------------------------------------------
  3. // Program.cs
  4. //
  5. // Microsoft XNA Community Game Platform
  6. // Copyright (C) Microsoft Corporation. All rights reserved.
  7. //-----------------------------------------------------------------------------
  8. #endregion
  9. #region Using Statements
  10. using System;
  11. using MonoTouch.Foundation;
  12. using MonoTouch.UIKit;
  13. #endregion
  14. namespace TouchGestureSample
  15. {
  16. #region Entry Point
  17. [Register("AppDelegate")]
  18. class Program : UIApplicationDelegate
  19. {
  20. Game1 game;
  21. public override void FinishedLaunching(UIApplication app)
  22. {
  23. // Fun begins..
  24. game = new Game1();
  25. game.Run();
  26. }
  27. /// <summary>
  28. /// The main entry point for the application.
  29. /// </summary>
  30. static void Main(string[] args)
  31. {
  32. UIApplication.Main(args, null, "AppDelegate");
  33. }
  34. }
  35. #endregion
  36. }