예제 #1
0
 @Override
 public boolean onBackButton() {
   SharedData.getInstance().soundsHandler.playButtonClickSound();
   Director.getInstance()
       .replaceScene((TransitionScene) LeftPushInTransition.make(0.5f, new FruitSelectedScene()));
   return true;
 }
 /** @return boolean */
 @Override
 public boolean onBackButton() {
   SharedData.getInstance().soundsHandler.playButtonClickSound();
   Director.getInstance()
       .replaceScene(
           (TransitionScene)
               LeftPushInTransition.make(0.5f, new HotDrinkSelectionScene()).autoRelease());
   this.particleSystem.stopAllActions();
   this.particleSystem.setVisible(false);
   return true;
 }