@Override public String getName() { if (this.m_boardParameters != null) { return WakfuTranslator.getInstance() .getString(78, this.m_boardParameters.getId(), new Object[0]); } return "#ERROR#"; }
@Override public AbstractMRUAction[] getInteractiveMRUActions() { if (!SystemConfiguration.INSTANCE.getBooleanValue( SystemConfigurationType.KROSMOZ_GAMES_ENABLE)) { return AbstractMRUAction.EMPTY_ARRAY; } final KrosmozGame game = KrosmozGame.byId(this.m_boardParameters.getGameId()); if (WakfuGameCalendar.getInstance().getDate().before(game.getUnlockDate())) { return AbstractMRUAction.EMPTY_ARRAY; } final MRUInteractifMachine activateAction = MRUActions.INTERACTIF_ACTION.getMRUAction(); if (!WakfuSWT.isInit()) { activateAction.setEnabled(false); activateAction.setErrorMsg( WakfuTranslator.getInstance().getString("krosmoz.gameBoard.systemRequirementsNotMet")); } return new AbstractMRUAction[] {activateAction}; }
@Override public String getName() { return WakfuTranslator.getInstance().getString("contentLoader.interactiveElement"); }