Program.cs 819 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #region File Description
  2. //-----------------------------------------------------------------------------
  3. // Program.cs
  4. //
  5. // Microsoft XNA Community Game Platform
  6. // Copyright (C) Microsoft Corporation. All rights reserved.
  7. //-----------------------------------------------------------------------------
  8. #endregion
  9. #region Using Statements
  10. using System;
  11. #if IOS
  12. using MonoTouch.Foundation;
  13. using MonoTouch.UIKit;
  14. #endif
  15. #endregion
  16. namespace VectorRumble
  17. {
  18. [Register ("AppDelegate")]
  19. class Program : UIApplicationDelegate
  20. {
  21. private VectorRumbleGame game;
  22. public override void FinishedLaunching (UIApplication app)
  23. {
  24. // Fun begins..
  25. game= new VectorRumbleGame();
  26. game.Run();
  27. }
  28. static void Main (string [] args)
  29. {
  30. UIApplication.Main (args,null,"AppDelegate");
  31. }
  32. }
  33. }