/**
* @param wall check this wall to see if it is blocking this path.
* @return true if the specified wall is blocking the paths.
*/
public boolean isBlockedByWall(BlockadeWall wall, BlockadeBoard board) {
MovePlacementValidator validator = new MovePlacementValidator(board);
for (BlockadeMove move: moves) {
if (validator.isMoveBlockedByWall(move, wall)) {
return true;
}
}
return false;
}