code: public void exit() {
          if (currentView == null) {
              GdxUtilities.exit();
          } else {
              currentView.getStage().addAction(Actions.sequence(getViewHidingAction(currentView),
                      Actions.run(GdxUtilities.getApplicationClosingRunnable())));
          }
      }
docs: Smoothly hides the {@link #getCurrentView() current view} and closes the application.na