2
0

main.cs 417 B

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