Changed getMark to getThisMark. Added start point to KeyFrame. Race now starts from start point and ends at finish point

#story[377]
This commit is contained in:
zyt10
2017-03-20 17:34:24 +13:00
parent ee34e5028f
commit 0e4bb0f942
3 changed files with 12 additions and 5 deletions
+7
View File
@@ -100,6 +100,13 @@ public class Race {
}
totalDistance += event.getDistanceBetweenMarks();
}
// There are no more marks after this event
else{
Event event = new Event(time, boat, course.get(i), course.get(i));
events.get(boat).add(event);
}
}
}
}