1681-engine / index / FieldsType
Interface: FieldsType<S> ​
Defined in: src/ecs/fields.ts:44
A component of numeric fields. Its value in each/query is the slot index.
Extends ​
ComponentType<number>
Type Parameters ​
| Type Parameter |
|---|
S extends FieldSpec |
Properties ​
__type? ​
ts
readonly optional __type?: number;Defined in: src/ecs/World.ts:29
Phantom field carrying T; never set.
Inherited from ​
fields ​
ts
readonly fields: S;Defined in: src/ecs/fields.ts:45
id ​
ts
readonly id: number;Defined in: src/ecs/World.ts:26
Inherited from ​
name ​
ts
readonly name: string;Defined in: src/ecs/World.ts:27