Main.cs 648 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using MonoTouch.Foundation;
  5. using MonoTouch.UIKit;
  6. namespace CatapultGame
  7. {
  8. [Register ("AppDelegate")]
  9. class Program : UIApplicationDelegate
  10. {
  11. private CatapultGame game;
  12. public override void FinishedLaunching (UIApplication app)
  13. {
  14. // Fun begins..
  15. game = new CatapultGame();
  16. game.Run();
  17. }
  18. // This is the main entry point of the application.
  19. static void Main (string[] args)
  20. {
  21. // if you want to use a different Application Delegate class from "AppDelegate"
  22. // you can specify it here.
  23. UIApplication.Main (args, null, "AppDelegate");
  24. }
  25. }
  26. }