Example #1
0
 public override void FinishedLaunching(MonoMac.Foundation.NSObject notification)
 {
     // Don't use 'using' to dispose of this
     // On Mac, the game is run on a background thread
     _game = new ShowcaseGame();
     _game.Run();
 }
Example #2
0
 public override void WillTerminate(NSNotification notification)
 {
     _game.Dispose();
     _game = null;
 }