getEntityType
@zylem/game-lib / catalog / getEntityType
Function: getEntityType()
getEntityType(
id):EntityTypeRegistration|null
Defined in: packages/game-lib/src/lib/entities/entity-registry.ts:84
@zylem/game-lib/catalog public API.
The registry of placeable entity types behind the editor's Add palette. Hosts register their own configured entities here so they appear alongside the built-in primitives; only a serializable descriptor is published to the editor, and the factory stays on this side of the bridge.
Parameters
id
string
Returns
EntityTypeRegistration | null