Added method in mark group to draw lay lines, also added next mark to Yacht class.

#story[956]
This commit is contained in:
Michael Rausch
2017-05-23 18:54:42 +12:00
parent e1b8e19966
commit ca8ea03870
4 changed files with 67 additions and 1 deletions
@@ -184,11 +184,18 @@ public class RaceViewController extends Thread implements ImportantAnnotationDel
updateBoatSelectionComboBox();
for (Yacht yacht : StreamParser.getBoatsPos().values()) {
System.out.println("\n\nyacht.getBoatName() = " + yacht.getBoatName());
System.out.println("yacht.getLastMarkRounded() = " + yacht.getLastMarkRounded());
System.out.println("yacht.getNextMark() = " + yacht.getNextMark());
if (yacht.getLastMarkRounded() != null) {
System.out.println(yacht.getLastMarkRounded().getName());
} else {
System.out.println("sup");
}
if (yacht.getNextMark() != null){
System.out.println("yacht = " + yacht.getNextMark().getName());
}
}
})