Skip to content

SiegeProjectileOptions

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

Options for adding neutral siege projectile assets with gameplay metadata.

at: HexCoordinates

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

Tile where the projectile is anchored.


optional facing?: HexEdgeIndex

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

Edge the projectile travels or points toward; also used as the default rotation.


optional kind?: "catapult"

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

Projectile visual kind. Defaults to catapult.


optional rotationSteps?: number

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

Clockwise 60-degree rotation steps. Overrides facing when provided.


optional scale?: number

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

Uniform render scale.


optional sourceId?: string

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

Optional source actor, structure, or attack id.