public override string ShortBehaviorInformation() { string init = (targetLane != null ? targetLane.ToString() : "To Zone"); string decs = ""; foreach (BehaviorDecorator bd in this.Decorators) { if (bd is ShutUpAndDoItDecorator) { decs += ", " + ((ShutUpAndDoItDecorator)bd).Level.ToString(); } } if (this.leftBound == null) { decs += ", lBnull"; } if (this.rightBound == null) { decs += ", rBnull"; } return(init + decs); }
public override string ShortBehaviorInformation() { return(startLane.ToString() + " -> " + targetLane.ToString() + ", d: " + this.maxDist.ToString("f2")); }
public override string ShortBehaviorInformation() { return(targetLane != null?targetLane.ToString() : "NONE"); }
public override string ShortBehaviorInformation() { return(endingLane == null ? "null" : endingLane.ToString()); }