private void OnMenuCloseButtonClick(IWindow window)
 {
     ScreenShadeInstance.Visible = false;
     MenuWindowInstance.Visible  = false;
     if (!TopStatusBarInstance.WasPausedWhenMenuClicked)
     {
         UnpauseThisScreen();
     }
     TopStatusBarInstance.PauseForMenu(IsPaused);
 }
 private void OnMenuButtonClick(IWindow window)
 {
     MenuWindowInstance.RefreshOptions();
     MenuWindowInstance.Visible  = true;
     ScreenShadeInstance.Visible = true;
     if (!IsPaused)
     {
         PauseThisScreen();
     }
     TopStatusBarInstance.PauseForMenu(IsPaused);
 }
 private void UpdateInfoBar()
 {
     TopStatusBarInstance.UpdateWave(CurrentLevel.CurrentWaveNumber, CurrentLevel.WavesToSurvive);
 }