Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 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());
 }