Skip to content

createRegistry ​

Function of @v12-engine/engine

ts
export declare function createRegistry(game: Rules, own?: readonly Component<unknown, unknown>[]): Registry;

Everything a game module defines, looked up by id: with the engine's own components, and those an app keeps in its worlds (own: CreateWorldOptions.components)