Skip to content

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

Function: addLanduse() ​

addLanduse(spec, at, kind?): object

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

A landuse area of 2 × 2 tiles of the first kind (fields), its first tile where the owner clicked.

Parameters ​

spec ​

RegionSpecJson

at ​

Pt

kind? ​

string = ...

Returns ​

object

selection ​

selection: RegionSelection

spec ​

spec: object

Index Signature ​

[key: string]: unknown