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