mwg API
    Preparing search index...

    Interface MinimapOptions

    interface MinimapOptions {
        cellSize?: number;
        heightInCells: number;
        shape?: "square" | "hex";
        widthInCells: number;
    }
    Index
    cellSize?: number

    screen pixels per cell; defaults to 2, small enough for an always-on-screen corner HUD

    heightInCells: number
    shape?: "square" | "hex"

    cell topology; hex uses the same flat-top odd-q projection as TileMap

    widthInCells: number

    the level's own width, in cells - needed to turn a cell index back into x/y