/// <summary>
 ///     Initializes a new instance of the <see cref="PathCameraBehavior" /> class.
 /// </summary>
 /// <param name="cameraPoints">The camera points.</param>
 public PathCameraBehavior(List<CameraPoint> cameraPoints)
     : base("PathCameraBehavior")
 {
     this.path = new Path(cameraPoints);
     this.CurrentState = State.PlayAndRepeat;
     this.speed = 1f;
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="PathCameraBehavior" /> class.
 /// </summary>
 /// <param name="cameraPoints">The camera points.</param>
 /// <param name="pathFrames">The frames between each camera point.</param>
 public PathCameraBehavior(List<CameraPoint> cameraPoints, int pathFrames)
     : base("PathCameraBehavior")
 {
     this.path = new Path(cameraPoints, pathFrames);
     this.CurrentState = State.PlayAndRepeat;
 }