mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Added method in mark group to draw lay lines, also added next mark to Yacht class.
#story[956]
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user