Initial work on finding next marks for boats as from mark rounding messages

Marks were very difficult to extend, need large refactor

Marks now have a compound ID as well as their sourceID. They need this compound ID to be identifiable by the
mark rounding messages.

tags: #story[956]  #pair[wmu16, mra106]
This commit is contained in:
William Muir
2017-05-22 18:54:07 +12:00
parent dec742cf54
commit e1b8e19966
13 changed files with 54 additions and 414 deletions
@@ -183,6 +183,14 @@ public class RaceViewController extends Thread implements ImportantAnnotationDel
updateOrder();
updateBoatSelectionComboBox();
for (Yacht yacht : StreamParser.getBoatsPos().values()) {
if (yacht.getLastMarkRounded() != null) {
System.out.println(yacht.getLastMarkRounded().getName());
} else {
System.out.println("sup");
}
}
})
);