public SegmentedLinearIntent(TypeOfValue startValue, TypeOfValue endValue, TimeSpan timeSpan, Interpolator <TypeOfValue> interpolator = null) : this(startValue, endValue, timeSpan) { interpolator = interpolator ?? Interpolator.Interpolator.Create <TypeOfValue>(); _segments = new LinearInterpolatedIntentSegmentCollection <TypeOfValue>(startValue, endValue, timeSpan, interpolator); }
private SegmentedLinearIntent(TypeOfValue startValue, TypeOfValue endValue, TimeSpan timeSpan, LinearInterpolatedIntentSegmentCollection <TypeOfValue> segments) : this(startValue, endValue, timeSpan) { _segments = segments; }