예제 #1
0
        public RoadSegment(RoadSegment <T> seg)
        {
            timeDelay       = seg.timeDelay;
            roads           = new List <Road>(seg.roads);
            totalLength     = seg.TotalLength;
            metaInformation = seg.metaInformation;

            growthBlocked     = seg.growthBlocked;
            successionBlocked = seg.successionBlocked;
            discarded         = seg.discarded;
        }
예제 #2
0
 int IComparable <RoadSegment <T> > .CompareTo(RoadSegment <T> other)
 {
     return(timeDelay - other.timeDelay);
 }