Skip to content

five-on-it / apps/client/src/ui/studio/town / addTownDistrict

Function: addTownDistrict() ​

addTownDistrict(spec): object

Defined in: apps/client/src/ui/studio/town.ts:155

A district added, with no blocks yet: its index.

Parameters ​

spec ​

TownSpec

Returns ​

object

index ​

index: number

spec ​

spec: TownSpec