Example #1
0
 public void quitGame() {
   NumSprite.istouchable = false;
   removeMap();
   removeList.clear();
   m_progress_bar.stop();
   System.exit(0);
 }
Example #2
0
 @Override
 public void disposeScene() {
   m_camera.setHUD(null);
   m_camera.setCenter(GameActivity.getCameraWidth() / 2, GameActivity.getCameraHeight() / 2);
   removeMap();
   removeList.clear();
   m_progress_bar.stop();
   this.detachSelf();
   this.dispose();
 }