public class RowHousingBuildingSpaceFiller extends java.lang.Object implements BuildingSpaceFiller
Constructor and Description |
---|
RowHousingBuildingSpaceFiller(double sizeOf1m,
java.util.Random random)
Construct a new RowHousingBuildingSpaceFiller.
|
Modifier and Type | Method and Description |
---|---|
void |
createBuildings(GMLShape space,
GMLMap map)
Populate a space with buildings.
|
public RowHousingBuildingSpaceFiller(double sizeOf1m, java.util.Random random)
sizeOf1m
- The size of 1m in GMLMap units.random
- The random number generator to use.public void createBuildings(GMLShape space, GMLMap map)
BuildingSpaceFiller
createBuildings
in interface BuildingSpaceFiller
space
- The space to fill.map
- The GMLMap to populate.