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:
Kusal Ekanayake
2017-04-26 18:45:58 +12:00
parent 749c6b7fef
commit c776d22941
9 changed files with 222 additions and 85 deletions
@@ -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;