Program.cs 433 B

123456789101112131415161718192021222324
  1. using MonoTouch.Foundation;
  2. using MonoTouch.UIKit;
  3. using Microsoft.Xna;
  4. namespace PeerToPeer
  5. {
  6. [Register ("AppDelegate")]
  7. class Program : UIApplicationDelegate
  8. {
  9. private PeerToPeerGame game;
  10. public override void FinishedLaunching (UIApplication app)
  11. {
  12. // Fun begins..
  13. game = new PeerToPeerGame();
  14. game.Run();
  15. }
  16. static void Main (string [] args)
  17. {
  18. UIApplication.Main (args,null,"AppDelegate");
  19. }
  20. }
  21. }