five-on-it / packages/catalogue/src/city/solve / buildCity
Function: buildCity()
buildCity(
input):object
Defined in: packages/catalogue/src/city/solve.ts:55
Solves a city spec (see the module documentation); build is absent when it has errors, and sketch then the plan as far as the network resolved (never built: its spawn and places may be missing).
Parameters
input
unknown
Returns
object
build?
optionalbuild?:CityBuild
issues
issues:
SpecIssue[]
sketch?
optionalsketch?:CityPlan