Main.cs 684 B

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