AppDelegate.cs 482 B

123456789101112131415161718192021
  1. using Foundation;
  2. using UIKit;
  3. using Microsoft.Xna.Framework;
  4. namespace PeerToPeer.iOS
  5. {
  6. [Register("AppDelegate")]
  7. public class AppDelegate : UIApplicationDelegate
  8. {
  9. private Game game;
  10. public override UIWindow Window { get; set; }
  11. public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
  12. {
  13. game = new PeerToPeerGame();
  14. game.Run();
  15. return true;
  16. }
  17. }
  18. }