static void Main() { using (Particle3DSampleGame game = new Particle3DSampleGame()) { game.Run(); } }
/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { #if MONOMAC NSApplication.Init(); using (var p = new NSAutoreleasePool()) { NSApplication.SharedApplication.Delegate = new AppDelegate(); NSApplication.Main(args); } #else using (var game = new Particle3DSampleGame()) { game.Run(); } #endif }
/// <summary> /// The main entry point for the application. /// </summary> static void Main (string[] args) { #if MONOMAC NSApplication.Init (); using (var p = new NSAutoreleasePool ()) { NSApplication.SharedApplication.Delegate = new AppDelegate (); NSApplication.Main (args); } #else using (var game = new Particle3DSampleGame()) { game.Run(); } #endif }
public override void FinishedLaunching(MonoMac.Foundation.NSObject notification) { using (Particle3DSampleGame game = new Particle3DSampleGame ()) { game.Run (); } }
public override void FinishedLaunching(MonoMac.Foundation.NSObject notification) { game = new Particle3DSampleGame(); game.Run(); }
private static void Main() { using (var game = new Particle3DSampleGame()) game.Run(); }