Skip to content

classifierMetadataKey

classifierMetadataKey(tag): string

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

The metadata KEY a classifier is stored under on a placement. Placement metadata values are string | number | boolean | null, so each classifier is a boolean flag (classifier:enemy → true) rather than an array — this keeps classifiers queryable through the placement metadata that survives projection into the koota world.

ClassifierTag

string