Fixed build bug.

tags : #story[1142]
This commit is contained in:
Alistair McIntyre
2017-08-17 13:44:34 +12:00
parent 5fc7442359
commit af3a400841
2 changed files with 2 additions and 2 deletions
@@ -95,7 +95,7 @@ public class GameClient {
/**
* Connect to a game as the host at the given address and starts the visualiser.
* @param ipAdclientYachtsdress IP to connect to.
* @param ipAddress IP to connect to.
* @param portNumber Port to connect to.
*/
public void runAsHost(String ipAddress, Integer portNumber) {
@@ -129,7 +129,7 @@ public class BoatObject extends Group {
* @param y The Y coordinate to move the boat to
* @param rotation The rotation by which the boat moves
* @param velocity The velocity the boat is moving
* @param sailIn
* @param sailIn Boolean to toggle sail state.
*/
public void moveTo(double x, double y, double rotation, double velocity, Boolean sailIn, double windDir) {
Double dx = Math.abs(boatPoly.getLayoutX() - x);