five-on-it / apps/tools/src/city-level / writeCity
Function: writeCity()
writeCity(
spec,outDir,options?):Promise<{build?:CityBuild;issues:SpecIssue[];stdout:string;written:string[]; }>
Defined in: apps/tools/src/city-level.ts:48
Solves a city spec and builds its plan with Blender into outDir (see the module documentation); the problems instead when the spec has any. Blender's own output comes back too, for the build's summary line.
Parameters
spec
unknown
outDir
string
options?
CityOptions = {}
Returns
Promise<{ build?: CityBuild; issues: SpecIssue[]; stdout: string; written: string[]; }>