if (j == i) {
//Abbey at side;
Position target = f.getTile().getPosition().add(side);
Tile abbeyTile = getBoard().get(target);
assert abbeyTile.isAbbeyTile();
if (!abbeyTile.getCloister().walk(new IsOccupiedOrCompleted())) {
wagonMoves.add(new FeaturePointer(target, Location.CLOISTER));
}
}
j++;
}
}
break;
}
}
}
if (feature.getNeighbouring() != null) {
for (Feature nei : feature.getNeighbouring()) {
if (nei.walk(new IsOccupiedOrCompleted())) continue;
wagonMoves.add(new FeaturePointer(nei.getTile().getPosition(), nei.getLocation()));
}
}
return true;
}