コード例 #1
0
 @Override
 public void onCheckOut() {
   super.onCheckOut();
   this.setState((short) 1);
   this.setBlockingLineOfSight(true);
   this.setOverHeadable(true);
   assert this.m_boardParameters == null;
 }
コード例 #2
0
 @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;
 }
コード例 #3
0
 @Override
 public void onCheckIn() {
   super.onCheckIn();
   this.m_boardParameters = null;
 }
コード例 #4
0
 @Override
 public void initializeActivationPattern() {
   super.initializeActivationPattern();
   this.m_hasToFinishOnIE = false;
 }