main.cs 466 B

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