Added boat trails to the boat group, fixed annotations

- Set colours for the annotations
- Added boat trails back into the boat group
- Re-added time until next mark and time since last mark rounding

#story[923]
This commit is contained in:
Michael Rausch
2017-05-19 20:55:02 +12:00
parent aaf2e6a3f0
commit 937b309b07
5 changed files with 121 additions and 42 deletions
@@ -181,7 +181,7 @@ public class CanvasController {
for (MarkGroup markGroup : markGroups) {
for (int id : markGroup.getRaceIds()) {
if (StreamParser.boatPositions.containsKey(id)) {
UpdateMarkGroup(id, markGroup);
updateMarkGroup(id, markGroup);
}
}
}
@@ -214,7 +214,7 @@ public class CanvasController {
}
}
void UpdateMarkGroup (int raceId, MarkGroup markGroup) {
void updateMarkGroup (int raceId, MarkGroup markGroup) {
PriorityBlockingQueue<BoatPositionPacket> movementQueue = StreamParser.boatPositions.get(raceId);
if (movementQueue.size() > 0){
try {