Beispiel #1
0
 public AuxActionRef(AUX_ACTION actionType = AuxActionRef.AUX_ACTION.NONE)
 {
     IsGeneric  = true;
     ActionType = actionType;
     //RequiredSpeedMpS = 0;
     //EndSignalIndex = -1;
     //Location = null;
 }
Beispiel #2
0
        //================================================================================================//
        /// <summary>
        /// AIAuxActionsRef: Generic Constructor
        /// The specific datas are used to fired the Action.
        /// </summary>

        public AuxActionRef(AUX_ACTION actionType, bool isGeneric)  //, WorldLocation? location, float requiredSpeedMpS, int endSignalIndex, int delay = 2, float requiredDistance = 0)
        {
            IsGeneric  = isGeneric;
            ActionType = actionType;
            //Location = location;
            //if (Location == null)
            //    IsGeneric = true;
            //else
            //RequiredSpeedMpS = requiredSpeedMpS;
            //EndSignalIndex = -1;
            //Delay = delay;
            //RequiredDistance = requiredDistance;
        }