@Override public synchronized void onResumeGame() { // esto viene despues de reload resources // Toast.makeText(this, "onResumeGame", Toast.LENGTH_LONG).show(); Debug.d("toast", "onResumeGame"); game.onResumeGame(); super.onResumeGame(); // TimerHelper.startTimer(mEngine.getScene(), 2f, new ITimerCallback() { // public void onTimePassed(final TimerHandler pTimerHandler){ // restartEngine(); // } // }); }
@Override public void onPauseGame() { Debug.d("toast", "onPauseGame"); game.onPauseGame(); super.onPauseGame(); }