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 6d8dc0e..ed844fe 100644 --- a/src/main/java/ch/zhaw/pm2/racetrack/strategy/PathFinderMoveStrategy.java +++ b/src/main/java/ch/zhaw/pm2/racetrack/strategy/PathFinderMoveStrategy.java @@ -142,7 +142,7 @@ public class PathFinderMoveStrategy implements MoveStrategy{ @Override - public PositionVector.Direction nextMove() { + public PositionVector.Direction nextMove() { //TODO check for crash and recreate movelist if crash pointer += 1; if (pointer < moveList.size()) { return moveList.get(pointer);