Skip to content

EventRegistry

Defined in: ecs/event.ts:122

new EventRegistry(): EventRegistry

EventRegistry

busNamed(name): EventBus<unknown> | undefined

Defined in: ecs/event.ts:141

The bus a manifest’s name refers to, or undefined if nothing made one.

string

EventBus<unknown> | undefined


getBus<T>(event): EventBus<T>

Defined in: ecs/event.ts:135

T

EventDef<T>

EventBus<T>


register<T>(event): void

Defined in: ecs/event.ts:131

T

EventDef<T>

void


swapAll(): void

Defined in: ecs/event.ts:152

void