@Override
public ImmutablePoint getMeeplePlacement(Tile tile, Class<? extends Meeple> type, Location loc) {
if (!containsTile(tile.getId())) return null;
if (type.equals(Barn.class)) return null;
Feature piece = tile.getFeature(loc);
ImmutablePoint point = pluginGeometry.getMeeplePlacement(tile, piece.getClass(), loc);
if (point == null) {
point = defaultGeometry.getMeeplePlacement(tile, piece.getClass(), piece.getLocation());
}
if (point == null) {
logger.warn("No point defined for <" + (new FeatureDescriptor(tile, piece.getClass(), loc)) + ">");
point = new ImmutablePoint(0, 0);
}
return point;
}