148149150151152153154155156
Location pos; do { pos = solutionPath.remove(0); MazeCell cell = maze.getCell(pos); cell.clearPath(); } while ( pos != lastState.getPosition()); } }