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