private void doBuilding()
{
// Construct a random building and place it into the buildings list.
CityBuilding building;
BuildingType type = BuildingType.BUILDING_CIVIL | BuildingType.BUILDING_GENERAL;
BuildingFlags flags = BuildingFlags.BUILDING_FLAG_ACOND | BuildingFlags.BUILDING_FLAG_LIGHTS |
BuildingFlags.BUILDING_FLAG_LOGO | BuildingFlags.BUILDING_FLAG_TRIM;
BuildingPlot plot = new BuildingPlot();
plot.XPos = randomValue(256) / 4;
plot.YPos = randomValue(256) / 4;
plot.Width = (byte)randomValue(10);
plot.Depth = (byte)randomValue(10);
plot.PlotClaimType = PlotClaimType.CLAIM_BUILDING | PlotClaimType.CLAIM_COMPLEX;
building = new CityBuilding(type, plot, flags, UUID.Zero,cityMap.centralRegions[0],"Building");
}