@Override public void onCheckOut() { super.onCheckOut(); this.setState((short) 1); this.setBlockingLineOfSight(true); this.setOverHeadable(true); assert this.m_boardParameters == null; }
@Override public void initializeWithParameter() { super.initializeWithParameter(); this.m_state = 1; final String[] params = this.m_parameter.split(";"); if (params.length != 1) { KrosmozGameBoard.m_logger.error( (Object) ("[LD] La borne de krosmoz " + this.m_id + " doit avoir " + 1 + " param\u00e8tre")); return; } int parameterId; try { parameterId = Integer.valueOf(params[0]); } catch (NumberFormatException e) { KrosmozGameBoard.m_logger.error( (Object) ("[LD] La borne de krosmoz " + this.m_id + " a un parametre [" + Integer.valueOf(params[0]) + "] qui n'est pas du bon type (id attendu)")); return; } final IEKrosmozGameBoardParameter param = (IEKrosmozGameBoardParameter) IEParametersManager.INSTANCE.getParam(IETypes.KROSMOZ_GAME_BOARD, parameterId); if (param == null) { KrosmozGameBoard.m_logger.error( (Object) ("[LD] La borne de krosmoz " + this.m_id + " a un parametre [" + Integer.valueOf(params[0]) + "] qui ne correspond a rien dans les Admins")); return; } this.m_boardParameters = param; }
@Override public void onCheckIn() { super.onCheckIn(); this.m_boardParameters = null; }
@Override public void initializeActivationPattern() { super.initializeActivationPattern(); this.m_hasToFinishOnIE = false; }