mwg API
    Preparing search index...

    Interface TerrainCondition

    One condition a rule tests against a neighbouring cell (or its own cell, at dx=0, dy=0): which flags that cell must carry, must not carry, or carry at least one of. dx/dy are in whatever unit the caller's grid uses - a square or isometric grid's own cell steps, or an axial hex offset for hexRotate - resolveTerrainGraphics never interprets them itself.

    interface TerrainCondition {
        dx: number;
        dy: number;
        hasAll?: readonly string[];
        hasAny?: readonly string[];
        hasNone?: readonly string[];
    }
    Index
    dx: number
    dy: number
    hasAll?: readonly string[]
    hasAny?: readonly string[]
    hasNone?: readonly string[]