five-on-it / apps/client/src/ui/Minimap / MinimapProps
Interface: MinimapProps
Defined in: apps/client/src/ui/Minimap.tsx:42
Props of the minimap.
Properties
cones
cones:
boolean
Defined in: apps/client/src/ui/Minimap.tsx:48
Draw the NPCs' view cones.
follow?
Defined in: apps/client/src/ui/Minimap.tsx:52
What it centres on, published every frame; without it, the player's marker.
map
map:
MinimapData|undefined
Defined in: apps/client/src/ui/Minimap.tsx:44
The static layer, or nothing until the level is known.
markers
markers:
MinimapMarkers|undefined
Defined in: apps/client/src/ui/Minimap.tsx:46
The moving layer.
onOpen?
optionalonOpen?: () =>void
Defined in: apps/client/src/ui/Minimap.tsx:54
A click on it: the full map opens.
Returns
void
span
span:
number
Defined in: apps/client/src/ui/Minimap.tsx:50
How far across it shows (m).