Linked raceData from new xml formats to current program. Current app now shows the starting list and course boundary. #story[782]
This commit is contained in:
@@ -318,6 +318,8 @@ public class ResizableRaceCanvas extends Canvas {
|
||||
* Draws boats while race in progress, when leg heading is set.
|
||||
*/
|
||||
public void updateBoats() {
|
||||
// TODO Remove null when boats are ready
|
||||
boats = null;
|
||||
if (boats != null) {
|
||||
for (BoatInRace boat : boats) {
|
||||
boolean finished = boat.getCurrentLeg().getName().equals("Finish") || boat.getCurrentLeg().getName().equals("DNF");
|
||||
|
||||
Reference in New Issue
Block a user