Removed some unused functions and imports caused by code refactor.

#chore
This commit is contained in:
Calum
2017-05-15 15:20:21 +12:00
parent c4fe116267
commit 23bc643c91
2 changed files with 0 additions and 21 deletions
@@ -260,31 +260,11 @@ public class BoatGroup extends Group{
}
}
public void setDestination (double newXValue, double newYValue, double groundSpeed, int raceIDs) {
destinationSet = true;
if (hasRaceId(raceIDs)) {
double rotation = Math.abs(
Math.toDegrees(
Math.atan(
(newYValue - boatPoly.getLayoutY()) / (newXValue - boatPoly.getLayoutX())
)
)
);
setDestination(newXValue, newYValue, rotation, groundSpeed, raceIDs);
}
}
public void rotateTo (double rotation) {
currentRotation = rotation;
boatPoly.getTransforms().setAll(new Rotate(rotation));
}
public void forceRotation () {
rotateTo (rotationalGoal);
wake.rotate(rotationalGoal);
}
public void setTeamNameObjectVisible(Boolean visible) {
teamNameObject.setVisible(visible);
}
@@ -5,7 +5,6 @@ import javafx.scene.Group;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
import javafx.scene.shape.Line;
import javafx.scene.transform.Rotate;
import java.util.ArrayList;
import java.util.List;