diff --git a/src/main/java/ch/zhaw/pm2/racetrack/strategy/PathFinderMoveStrategy.java b/src/main/java/ch/zhaw/pm2/racetrack/strategy/PathFinderMoveStrategy.java index 1fc056f..b9feee0 100644 --- a/src/main/java/ch/zhaw/pm2/racetrack/strategy/PathFinderMoveStrategy.java +++ b/src/main/java/ch/zhaw/pm2/racetrack/strategy/PathFinderMoveStrategy.java @@ -209,8 +209,6 @@ public class PathFinderMoveStrategy implements MoveStrategy{ PositionVector newVelocity = new PositionVector(currentVelocity.getX() + direction.vector.getX(), currentVelocity.getY() + direction.vector.getY()); PositionVector currentPosition = track.getCarPos(carIndex); PositionVector newPosition = new PositionVector(currentPosition.getX() + newVelocity.getX(), currentPosition.getY() + newVelocity.getY()); - System.out.println("currentVelocity:" + currentVelocity.getX()+ ","+ currentVelocity.getY()); - System.out.println("newVelocity:" + newVelocity.getX()+ ","+ newVelocity.getY()); for(PositionVector point : track.calculatePointsOnPath(currentPosition, newPosition)){ if(track.willCrashAtPosition(carIndex, point)){ createMoveList();