Skip to content

five-on-it / apps/client/src/ui/minimap-data

apps/client/src/ui/minimap-data ​

What the minimap draws: the city's static layer (built once from the level: its districts with their titles, the roads as polylines, the footprint of every building, structure and prop, the height of the ground sampled on a grid so terraces and hills shade by height, the nail strips) and the moving markers (published by the game loop at the HUD rate). No React, no Babylon.

Interfaces ​

Functions ​