@Override
  public synchronized void onResumeGame() {
    // TODO Auto-generated method stub

    // sa.finish();
    super.onResumeGame();
    mainMenuScene.registerEntityModifier(
        new ScaleAtModifier(0.5f, 0.0f, 1.0f, CAMERA_WIDTH / 2, CAMERA_HEIGHT / 2));
    mStaticMenuScene.registerEntityModifier(
        new ScaleAtModifier(0.5f, 0.0f, 1.0f, CAMERA_WIDTH / 2, CAMERA_HEIGHT / 2));

    if (audioOptions.getBoolean("musicOn", true)) {
      StartActivity.mMusic.resume();
    }
  }
Exemple #2
0
 @Override
 public synchronized void onResumeGame() {
   Log.d("GameActivity", "Resume Game");
   if (this.mEngine != null) super.onResumeGame();
 }
 @Override
 public void onResumeGame() {
   super.onResumeGame();
   this.enableAccelerationSensor(this);
 }
 @Override
 public synchronized void onResumeGame() {
   if (this.mEngine != null) super.onResumeGame();
 }