/// <summary> /// Default ctor /// </summary> public Route() { fromBlock = new Property <EntityRef <Block> >(this, null); fromBlockSide = new Property <BlockSide>(this, BlockSide.Front); toBlock = new Property <EntityRef <Block> >(this, null); toBlockSide = new Property <BlockSide>(this, BlockSide.Back); fromEdge = new Property <EntityRef <Edge> >(this, null); toEdge = new Property <EntityRef <Edge> >(this, null); crossingJunctions = new JunctionWithStateSet(this); events = new EventSet(this); _enteringSensors = new EnteringDestinationSensorSet(this); _reachedSensors = new ReachedDestinationSensorSet(this); speed = new Property <int>(this, DefaultValues.DefaultRouteSpeed); chooseProbability = new Property <int>(this, DefaultValues.DefaultRouteChooseProbability); permissions = new LocStandardPredicate(); permissions.EnsureId(); closed = new Property <bool>(this, false, null); maxDuration = new Property <int>(this, DefaultValues.DefaultRouteMaxDuration); enteringDestinationTrigger = new ActionTrigger(this, Strings.TriggerNameEnteringDestination); destinationReachedTrigger = new ActionTrigger(this, Strings.TriggerNameDestinationReached); }
/// <summary> /// Default ctor /// </summary> internal SetImpl2(JunctionWithStateSet impl) : base(impl) { this.impl = impl; }