implemented PathFollowerMoveStrategy.java #28

Merged
schrom01 merged 4 commits from PathFollowerMoveStrategy into main 2022-03-23 10:09:35 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit c59e4a30d8 - Show all commits

View File

@ -20,7 +20,7 @@ public class MoveListStrategy implements MoveStrategy {
readFile(new File(path)); readFile(new File(path));
} }
protected void readFile(File trackFile) throws FileNotFoundException { private void readFile(File trackFile) throws FileNotFoundException {
Scanner scanner = new Scanner(new FileInputStream(trackFile), "UTF-8"); Scanner scanner = new Scanner(new FileInputStream(trackFile), "UTF-8");
Direction[] directions = Direction.values(); Direction[] directions = Direction.values();
while (scanner.hasNextLine()) { while (scanner.hasNextLine()) {