Removed remaining println statements

This commit is contained in:
Connor Taylor-Brown
2017-09-12 17:35:51 +12:00
parent 01a304efb9
commit c94e0af69c
8 changed files with 0 additions and 37 deletions
@@ -43,8 +43,6 @@ public class SailsCommand extends ObserverCommand {
// Apply deceleration to strictly 0 speed
boat.setCurrentSpeed(Math.max(0, boat.getCurrentSpeed() - acceleration));
} else {
System.out.println(goalVelocity + " " + boat.getCurrentSpeed());
// Release boat from SailsCommand control
if(sailsOut) boat.setVelocityDefault(true);
race.deleteObserver(this);
@@ -68,7 +68,6 @@ public class TackGybeCommand extends ObserverCommand {
boat.setBearing(Bearing.fromDegrees(boat.getBearing().degrees() + offset * direction));
totalRotation += offset;
} else {
System.out.println(goalAngle + " " + boat.getBearing().degrees());
boat.setBearing(Bearing.fromDegrees(goalAngle));
race.deleteObserver(this);
}
@@ -63,7 +63,6 @@ public class VMGCommand extends ObserverCommand {
boat.setBearing(Bearing.fromDegrees(boat.getBearing().degrees() + offset * direction));
totalRotation += offset;
} else {
System.out.println(goalAngle + " " + boat.getBearing().degrees());
boat.setBearing(Bearing.fromDegrees(goalAngle));
race.deleteObserver(this);
}