main.cs 651 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Drawing;
  3. using System.Runtime.InteropServices;
  4. using MonoTouch.AudioToolbox;
  5. using MonoTouch.CoreAnimation;
  6. using MonoTouch.CoreGraphics;
  7. using MonoTouch.Foundation;
  8. using MonoTouch.OpenGLES;
  9. using MonoTouch.UIKit;
  10. using MonoTouch.ObjCRuntime;
  11. using Microsoft.Xna.Framework;
  12. namespace RockRainIphone
  13. {
  14. [Register ("AppDelegate")]
  15. class Program : UIApplicationDelegate
  16. {
  17. private Game1 game;
  18. public override void FinishedLaunching (UIApplication app)
  19. {
  20. // Fun begins..
  21. game = new Game1();
  22. game.Run();
  23. }
  24. static void Main (string [] args)
  25. {
  26. UIApplication.Main (args,null,"AppDelegate");
  27. }
  28. }
  29. }