예제 #1
0
파일: Path.cs 프로젝트: TheKoen/SE1d3-KBS2
 /// <summary>
 /// calculates the distance from end Intersection to the End location
 /// </summary>
 /// <returns></returns>
 public double CalculateDistanceToEnd()
 {
     return(Util.MathUtil.Distance(Intersections.Last().Location, End));
 }