X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/blobdiff_plain/0cafec445af0a97d96feb1a1daefa1486142c73f..4fc09567c557a1110180940cca40fd7144921026:/SuperPolarityMac/Main.cs diff --git a/SuperPolarityMac/Main.cs b/SuperPolarityMac/Main.cs deleted file mode 100644 index f21bf0b..0000000 --- a/SuperPolarityMac/Main.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using MonoMac.AppKit; -using MonoMac.Foundation; - -namespace SuperPolarityMac -{ - static class Program - { - /// - /// The main entry point for the application. - /// - static void Main (string[] args) - { - NSApplication.Init (); - - using (var p = new NSAutoreleasePool ()) { - NSApplication.SharedApplication.Delegate = new AppDelegate (); - NSApplication.Main (args); - } - - - } - } - - class AppDelegate : NSApplicationDelegate - { - Game1 game; - - public override void FinishedLaunching (MonoMac.Foundation.NSObject notification) - { - game = new Game1 (); - game.Run (); - } - - public override bool ApplicationShouldTerminateAfterLastWindowClosed (NSApplication sender) - { - return true; - } - } -} - -