AppDelegate.cs 556 B

1234567891011121314151617181920212223242526
  1. using Foundation;
  2. using UIKit;
  3. using Microsoft.Xna.Framework;
  4. namespace Flood_Control
  5. {
  6. [Register("AppDelegate")]
  7. public class AppDelegate : UIApplicationDelegate
  8. {
  9. Game1 game;
  10. public override bool FinishedLaunching(UIApplication app, NSDictionary options)
  11. {
  12. game = new Game1();
  13. game.Run();
  14. return true;
  15. }
  16. }
  17. public class Application
  18. {
  19. static void Main(string[] args)
  20. {
  21. UIApplication.Main(args, null, "AppDelegate");
  22. }
  23. }
  24. }