remove system.out statments

#story[1101]
main
hba56 8 years ago
parent 67bb7b81dc
commit dc9317fe2e

@ -482,10 +482,7 @@ public class MockRace extends Race {
GPSCoordinate.passesLine(roundingMark.getPosition(),
roundingChecks.get(0), boat.getCurrentPosition(), legBearing) &&
gateCheck && boat.isBetweenGate(roundingMark, Mark.tempMark(roundingChecks.get(0)))) {
System.out.println("0");
boat.increaseRoundingStatus();
System.out.println(boat.getCurrentLeg().getLegNumber());
System.out.println(legs.size());
if (boat.getCurrentLeg().getLegNumber() + 2 >= legs.size()){
//boat has finished race
boat.increaseRoundingStatus();
@ -499,7 +496,6 @@ public class MockRace extends Race {
Bearing.fromDegrees(legBearing.degrees() - 90)) &&//negative 90 from bearing because of port rounding
boat.isBetweenGate(roundingMark, Mark.tempMark(roundingChecks.get(1)))) {
boat.increaseRoundingStatus();
System.out.println("1");
}
break;
case 2://has traveled 180 degrees around the mark
@ -507,7 +503,6 @@ public class MockRace extends Race {
boat.resetRoundingStatus();
Leg nextLeg = this.legs.get(boat.getCurrentLeg().getLegNumber() + 1);
boat.setCurrentLeg(nextLeg);
System.out.println("2");
break;
}
}

Loading…
Cancel
Save