Skip to content

FactionBuildingOptions

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:422

Options for adding a faction building.

at: HexCoordinates

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:424

Tile where the building is anchored.


building: "archeryrange" | "barracks" | "blacksmith" | "castle" | "church" | "docks" | "home_A" | "home_B" | "lumbermill" | "market" | "mine" | "shipyard" | "shrine" | "stables" | "tavern" | "tent" | "townhall" | "tower_A" | "tower_B" | "tower_base" | "tower_cannon" | "tower_catapult" | "watchtower" | "watermill" | "well" | "windmill" | "workshop"

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:428

Faction building kind.


faction: "blue" | "green" | "red" | "yellow"

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:426

Faction color for the building.


optional rotationSteps?: number

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:430

Clockwise 60-degree rotation steps.


optional scale?: number

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:432

Uniform render scale.