five-on-it / apps/client/src/ui/studio/region / addFeature
Function: addFeature()
addFeature(
spec,kind,at):object
Defined in: apps/client/src/ui/studio/region.ts:107
A feature of a kind put at the corner nearest a point, with the sizes its kind needs.
Parameters
spec
kind
"ski" | "hill" | "mountain" | "plateau" | "valley" | "lake" | "volcano"
at
Returns
object
selection
selection:
RegionSelection
spec
spec:
object
Index Signature
[key: string]: unknown