Program.iOS.cs 544 B

12345678910111213141516171819202122232425262728293031
  1. #region Using Statements
  2. using System;
  3. using MonoTouch.Foundation;
  4. using MonoTouch.UIKit;
  5. using Microsoft.Xna.Framework;
  6. using Microsoft.Xna.Framework.Media;
  7. #endregion
  8. namespace Blackjack
  9. {
  10. [Register ("AppDelegate")]
  11. class Program : UIApplicationDelegate
  12. {
  13. private BlackjackGame game;
  14. public override void FinishedLaunching (UIApplication app)
  15. {
  16. // Fun begins..
  17. game = new BlackjackGame();
  18. game.Run();
  19. }
  20. static void Main (string [] args)
  21. {
  22. UIApplication.Main (args,null,"AppDelegate");
  23. }
  24. }
  25. }