/// <summary> /// Fires on deactivation, closes the game. /// </summary> protected override void OnDeactivate(bool close) { _game.EndGame(); base.OnDeactivate(close); }