Skip to content

five-on-it / apps/client/src/ui/studio/region / addRegionTown

Function: addRegionTown() ​

addRegionTown(spec, at): object

Defined in: apps/client/src/ui/studio/region.ts:178

A town of 2 × 2 blocks, its footprint's first tile where the owner clicked.

Parameters ​

spec ​

RegionSpecJson

at ​

Pt

Returns ​

object

selection ​

selection: RegionSelection

spec ​

spec: object

Index Signature ​

[key: string]: unknown