public Coordinate getSecondToLastCoordinate() { if (CoordinatePath.Count() > 1) { return(CoordinatePath[CoordinatePath.Count() - 2]); } else { return(null); } }
public Coordinate getLastCoordinate() { return(CoordinatePath[CoordinatePath.Count() - 1]); }