Skip to content

PlacementClassifier

PlacementClassifier = (placement) => readonly ClassifierTag[]

Defined in: packages/declarative-hex-worlds/src/classifiers/classifiers.ts:42

A pure function that assigns zero or more classifier tags to a placement. Classifiers compose: every registered classifier runs, and their tags are unioned. A classifier inspects the placement’s kind / assetId / metadata and returns the classifiers it recognizes (or none).

GameboardPlacementSpec

readonly ClassifierTag[]