public boolean onMenuItemClicked( MenuScene pMenuScene, IMenuItem pMenuItem, float pMenuItemLocalX, float pMenuItemLocalY) { switch (pMenuItem.getID()) { case MENU_OPTIONS: SceneManager.getInstance().loadGameScene(engine); return true; default: return false; } }
@Override public void onBackKeyPressed() { SceneManager.getInstance().getMenuSceneBack(engine); }