Clash Blueprint Engine API
    Preparing search index...

    Class Village

    Aggregate root for a village layout. It is the single guardian of spatial integrity: every building/wall it holds is in-bounds and non-overlapping, enforced on each mutation. Mutations return Result — expected conflicts (overlap, out of bounds) are values, not exceptions.

    The aggregate is deliberately behaviour-only about space. Game rules (counts, unlock tiers, required buildings) live in the rules/validation packages so this stays reusable across progression tiers and other games.

    Index
    grid: Grid