Strategy #31
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue