mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Linking up course stream with visualiser. Boats moving, and course drawing. Boats however are not moving as intended. Needs to be fixed/looked into.
#story[820] #pair[kre39,cir27]
This commit is contained in:
@@ -25,7 +25,7 @@ import java.util.*;
|
||||
/**
|
||||
* Created by ptg19 on 29/03/17.
|
||||
*/
|
||||
public class RaceViewController {
|
||||
public class RaceViewController extends Thread{
|
||||
@FXML
|
||||
private VBox positionVbox;
|
||||
@FXML
|
||||
@@ -48,6 +48,7 @@ public class RaceViewController {
|
||||
private Race race;
|
||||
|
||||
public void initialize() {
|
||||
|
||||
RaceController raceController = new RaceController();
|
||||
raceController.initializeRace();
|
||||
race = raceController.getRace();
|
||||
@@ -73,6 +74,8 @@ public class RaceViewController {
|
||||
includedCanvasController.timer.start();
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void initializeSettings(){
|
||||
displayAnnotations = true;
|
||||
displayFps = true;
|
||||
|
||||
Reference in New Issue
Block a user