@Override public void onOnlineGameClicked(float stageX, float stageY) { if (getMultiplayer() == null) return; // desktop mode if (!checkForNickName("online")) return; if (!multiplayerController.onOnlineGameClicked()) return; goTo(MenuScreen.NEW_GAME_VIEW, stageX, stageY); screen.chooseMode(false); }
private void onNewGameClicked(float stageX, float stageY) { if (!checkForNickName("local")) return; if (getScreenDirector().setLocal().gameExists()) getScreenDirector().goToGame(); else { goTo(MenuScreen.NEW_GAME_VIEW, stageX, stageY); screen.chooseMode(true); } }