main.cs 500 B

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