codecleanup MoveListStrategy

This commit is contained in:
Andrin Fassbind 2022-03-25 20:17:30 +01:00
parent bb41595609
commit 48675b0ca5
1 changed files with 2 additions and 2 deletions

View File

@ -20,10 +20,10 @@ public class MoveListStrategy implements MoveStrategy {
private final List<Direction> moveList;
private int pointer;
public MoveListStrategy(String path) throws FileNotFoundException{
public MoveListStrategy(File moveListFile) throws FileNotFoundException{
moveList = new ArrayList<>();
pointer = -1;
readFile(new File(path));
readFile(moveListFile);
}
/**