Inheritance: Microsoft.Xna.Framework.Game
Ejemplo n.º 1
0
        static void Main(string[] args)
        {
#if !MACOS
            Game = new CastleGame();
            Game.Run();
#else
				NSApplication.Init ();
				using (var p = new NSAutoreleasePool ()) {
					NSApplication.SharedApplication.Delegate = new AppDelegate ();
					NSApplication.Main (args);
				}
#endif
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
#if !MACOS
            Game = new CastleGame();
            Game.Run();
#else
            NSApplication.Init();
            using (var p = new NSAutoreleasePool()) {
                NSApplication.SharedApplication.Delegate = new AppDelegate();
                NSApplication.Main(args);
            }
#endif
        }
Ejemplo n.º 3
0
 public static void Main()
 {
     castleGame = new CastleGame();
     castleGame.Run();
 }