Skip to content

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

Function: replaceTownPart() ​

replaceTownPart(spec, selection, element): TownSpec

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

A district replaced, a compound replaced.

Parameters ​

spec ​

TownSpec

selection ​

index ​

number

kind ​

"district" | "compound"

element ​

Record<string, unknown>

Returns ​

TownSpec