@Override
 public void onCheckOut() {
   super.onCheckOut();
   this.setState((short) 1);
   this.setBlockingLineOfSight(false);
   this.setBlockingMovements(false);
 }
 @Override
 public void onCheckOut() {
   super.onCheckOut();
   this.setState((short) 1);
   this.setBlockingLineOfSight(true);
   this.setOverHeadable(true);
   assert this.m_boardParameters == null;
 }
Esempio n. 3
0
 @Override
 public void onCheckOut() {
   super.onCheckOut();
   this.m_state = 1;
   this.setVisible(true);
   this.setBlockingLineOfSight(false);
   this.setBlockingMovements(true);
   this.m_selectable = false;
 }
 @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;
 }
Esempio n. 5
0
 @Override
 public void onCheckIn() {
   super.onCheckIn();
   this.m_boardParameters = null;
 }
Esempio n. 6
0
 @Override
 public void initializeActivationPattern() {
   super.initializeActivationPattern();
   this.m_hasToFinishOnIE = false;
 }
 @Override
 public void setPosition(final Point3 position) {
   super.setPosition(position);
   this.getPositionTriggers().add(position);
 }