Strategy #31
|
@ -142,7 +142,7 @@ public class PathFinderMoveStrategy implements MoveStrategy{
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public PositionVector.Direction nextMove() {
|
public PositionVector.Direction nextMove() { //TODO check for crash and recreate movelist if crash
|
||||||
pointer += 1;
|
pointer += 1;
|
||||||
if (pointer < moveList.size()) {
|
if (pointer < moveList.size()) {
|
||||||
return moveList.get(pointer);
|
return moveList.get(pointer);
|
||||||
|
|
Loading…
Reference in New Issue