WIP: Marks randomly appear in course now. Mark arrows broken.

Something about sending raceXML during the course of the race breaks the mark rounding arrows functionallity, crashing the game.

#story[1250]
This commit is contained in:
William Muir
2017-08-29 19:13:48 +12:00
parent dc19310849
commit 201405d070
4 changed files with 80 additions and 29 deletions
@@ -138,10 +138,10 @@ public class RaceViewController extends Thread implements ImportantAnnotationDel
Platform.runLater(() -> contentAnchorPane.getChildren().add(0, gameView));
gameView.setBoats(new ArrayList<>(participants.values()));
gameView.updateBorder(raceData.getCourseLimit());
gameView.updateTokens(raceData.getTokens());
gameView.updateCourse(
new ArrayList<>(raceData.getCompoundMarks().values()), raceData.getMarkSequence()
);
gameView.updateTokens(raceData.getTokens());
gameView.enableZoom();
gameView.setBoatAsPlayer(player);
gameView.startRace();