예제 #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
        }
예제 #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
        }
예제 #3
0
 public static void Main()
 {
     castleGame = new CastleGame();
     castleGame.Run();
 }