@Override public void clicked(InputEvent event, float x, float y) { super.clicked(event, x, y); try { game.showSimulationModeScreen(gameController); } catch (IllegalBoardException e) { Dialog dialog = new NotificationDialog( _("invalid_board_dialog")); dialog.show(stage); } }
@Override public void clicked(InputEvent event, float x, float y) { super.clicked(event, x, y); Overlap2DFacade facade = Overlap2DFacade.getInstance(); ResolutionEntryVO resolutionEntryVO = new ResolutionEntryVO(); resolutionEntryVO.name = nameVisTextField.getText(); resolutionEntryVO.width = Integer.parseInt(widthVisTextField.getText()); resolutionEntryVO.height = Integer.parseInt(heightVisTextField.getText()); resolutionEntryVO.base = buttonGroup.getCheckedIndex(); facade.sendNotification(CREATE_BTN_CLICKED, resolutionEntryVO); }
@Override public void clicked(InputEvent event, float x, float y) { super.clicked(event, x, y); $soundClick(); }