@Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { SceneManager.getInstance(); SceneManager.getCurrentScene().onBackKeyPressed(); } return true; }
public void onCreateScene(OnCreateSceneCallback pOnCreateSceneCallback) throws IOException { SceneManager.getInstance().createSplashScene(pOnCreateSceneCallback); GameActivity.myMusic.play(); myMusic.setLooping(true); }