codecleanup MoveListStrategy
This commit is contained in:
@@ -20,10 +20,10 @@ public class MoveListStrategy implements MoveStrategy {
|
|||||||
private final List<Direction> moveList;
|
private final List<Direction> moveList;
|
||||||
private int pointer;
|
private int pointer;
|
||||||
|
|
||||||
public MoveListStrategy(String path) throws FileNotFoundException{
|
public MoveListStrategy(File moveListFile) throws FileNotFoundException{
|
||||||
moveList = new ArrayList<>();
|
moveList = new ArrayList<>();
|
||||||
pointer = -1;
|
pointer = -1;
|
||||||
readFile(new File(path));
|
readFile(moveListFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user