Skip to content

five-on-it / apps/client/src/ui/studio/TownMap / TownMapProps

Interface: TownMapProps ​

Defined in: apps/client/src/ui/studio/TownMap.tsx:43

What the map is given.

Properties ​

hidden ​

hidden: ReadonlySet<string>

Defined in: apps/client/src/ui/studio/TownMap.tsx:46


pins ​

pins: Pin[]

Defined in: apps/client/src/ui/studio/TownMap.tsx:47


selection ​

selection: TownSelection | undefined

Defined in: apps/client/src/ui/studio/TownMap.tsx:45


spec ​

spec: TownSpec

Defined in: apps/client/src/ui/studio/TownMap.tsx:44

Methods ​

onContext()? ​

optional onContext(at, client): void

Defined in: apps/client/src/ui/studio/TownMap.tsx:49

Parameters ​

at ​

Pt

client ​

Pt

Returns ​

void


onGround() ​

onGround(at): void

Defined in: apps/client/src/ui/studio/TownMap.tsx:48

Parameters ​

at ​

Pt

Returns ​

void


onHover() ​

onHover(at): void

Defined in: apps/client/src/ui/studio/TownMap.tsx:50

Parameters ​

at ​

Pt | undefined

Returns ​

void