Ejemplo n.º 1
0
  /**
   * <b>DO NOT CALL THIS METHOD</b>
   *
   * <p>This method is part of the Android Activity lifecycle which is managed by GameEngine itself.
   */
  @Override
  protected final void onPause() {
    super.onPause();
    printDebugInfo("GameEngine", "OnPause...");

    pause();
    GameSound.pauseSounds();
    MusicPlayer.pauseAll();

    MotionSensor.handleOnPause(this);
  }