public void ChangeSource(IClock source)
 {
     SourceClock             = new FramedClock(source);
     LastInterpolatedTime    = 0;
     CurrentInterpolatedTime = 0;
 }
 /// <summary>
 /// Makes a new hinstance of <see cref="InterpolatedFramedClock"/>.
 /// </summary>
 /// <param name="source">Source clock.</param>
 public InterpolatedFramedClock(IClock source = null)
 {
     Clock = new FramedClock(new StopwatchClock(true));
     ChangeSource(source);
 }