1681-engine / index / ComponentType
Interface: ComponentType<T> ​
Defined in: src/ecs/World.ts:25
A component type: a typed key. Make one per kind of data with defineComponent.
Extended by ​
Type Parameters ​
| Type Parameter |
|---|
T |
Properties ​
__type? ​
ts
readonly optional __type?: T;Defined in: src/ecs/World.ts:29
Phantom field carrying T; never set.
id ​
ts
readonly id: number;Defined in: src/ecs/World.ts:26
name ​
ts
readonly name: string;Defined in: src/ecs/World.ts:27