mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Wakes no longer become out of sync with boats after extended periods of time. Added in
a limit to the length of boat trails. #implement
This commit is contained in:
@@ -14,10 +14,7 @@ import javafx.scene.layout.Pane;
|
||||
import javafx.scene.layout.VBox;
|
||||
import javafx.scene.text.Text;
|
||||
import javafx.util.Duration;
|
||||
import seng302.models.Boat;
|
||||
import seng302.models.Event;
|
||||
import seng302.models.Race;
|
||||
import seng302.models.TimelineInfo;
|
||||
import seng302.models.*;
|
||||
import seng302.models.parsers.ConfigParser;
|
||||
|
||||
import java.io.IOException;
|
||||
@@ -288,4 +285,11 @@ public class RaceViewController extends Thread{
|
||||
public ArrayList<Boat> getStartingBoats(){
|
||||
return startingBoats;
|
||||
}
|
||||
|
||||
@FXML
|
||||
private void toggleAnnotations () {
|
||||
for (RaceObject ro : includedCanvasController.getRaceObjects()) {
|
||||
ro.toggleAnnotations();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user