public TrackSegmentModify (TrackSegment4 segment,TrackUIHandle trackUIHandler) { this._trackUIHandler = trackUIHandler; this.TrackSegment = segment; for (int x = 0; x < TrackSegment.curves.Count; x++) { if(0 == x) _nodes.Add (new TrackNodeCurve(TrackSegment.curves[x],this,true)); else _nodes.Add (new TrackNodeCurve(TrackSegment.curves[x],this,false)); } }
public TrackSegmentModify(TrackSegment4 segment, TrackUIHandle trackUIHandler) { this._trackUIHandler = trackUIHandler; this.TrackSegment = segment; for (int x = 0; x < TrackSegment.curves.Count; x++) { if (0 == x) { _nodes.Add(new TrackNodeCurve(TrackSegment.curves[x], this, true)); } else { _nodes.Add(new TrackNodeCurve(TrackSegment.curves[x], this, false)); } } }