Ejemplo n.º 1
0
 @Override
 public boolean onSceneTouchEvent(Scene pScene, TouchEvent pSceneTouchEvent) {
   if (pSceneTouchEvent.isActionUp()) {
     SceneManager.getInstance().loadMenuScene(this);
   }
   return false;
 }
Ejemplo n.º 2
0
 @Override
 public void onBackKeyPressed() {
   SceneManager.getInstance().loadMenuScene(this);
 }
 public static void prepareManager(final BaseGameActivity activity, Engine engine) {
   INSTANCE.activity = activity;
   INSTANCE.engine = engine;
 }