Main.cs 559 B

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