WorkboardStage
The internal stage layer behind the composite Workboard
There is no public WorkboardStage component. The stage is an internal layer of the composite
Workboard: a fixed-size coordinate space where zones and agent nodes are positioned.
@downcity/ui does not export the stage component, its zone definitions, or its coordinate helpers.
Render Workboard and let it own the stage.
What is public
The board's game geometry is reachable through one exported builder:
import { buildWorkboardGameMapConfig } from "@downcity/ui";
const gameMap = buildWorkboardGameMapConfig({
board,
activeZoneId: "active",
selectedAgentId,
});buildWorkboardGameMapConfig returns a DowncityWorkboardGameMapConfig describing zones, actors,
corridors, patrols, and points of interest — the same geometry the stage renders.
Related
- Workboard — the composite board you render
- WorkboardGame — the exported game map builder and public game types
- WorkboardStageMap — the pixel map used inside the atlas