javadoc fix.

main
fjc40 8 years ago
parent 9889a474ee
commit e1905e9e36

@ -141,7 +141,7 @@ public class ArrowController {
//We need to display wind-from, so add 180 degrees. //We need to display wind-from, so add 180 degrees.
Bearing fromBearing = Bearing.fromDegrees(bearing.degrees() + 180d); Bearing fromBearing = Bearing.fromDegrees(bearing.degrees() + 180d);
//Rotate the wind arrow. //Rotate the wind arrow.
arrowStackPane.setRotate(fromBearing.degrees()); arrowStackPane.setRotate(fromBearing.degrees());
} }

@ -380,6 +380,7 @@ public class RaceController extends Controller {
/** /**
* Initialises the arrow controller with data from the race to observe. * Initialises the arrow controller with data from the race to observe.
* @param race The race to observe.
*/ */
private void initialiseArrow(VisualiserRace race) { private void initialiseArrow(VisualiserRace race) {
arrowController.setWindProperty(race.windProperty()); arrowController.setWindProperty(race.windProperty());

Loading…
Cancel
Save