public void togglePauseMenu() { if (screenCanFocus(_pauseMenu)) { _pauseMenu.setVisible(!_pauseMenu.isVisible()); } }
private boolean shouldUpdateWorld() { return !_pauseGame && !_pauseMenu.isVisible(); }