Skip to content

Profectus / game/layers / NodesInjectionKey

Variable: NodesInjectionKey ​

const NodesInjectionKey: InjectionKey<Ref<Record<string, FeatureNode | undefined>>>

An injection key that a Context component will use to provide a ref to a map of all currently registered FeatureNodes.

Defined in ​

profectus/src/game/layers.tsx:44