Skip to content

1681-engine / index / entityIndex

Function: entityIndex() ​

ts
function entityIndex(e): number;

Defined in: src/ecs/World.ts:82

The slot an entity id sits in.

Parameters ​

ParameterType
enumber

Returns ​

number

Released under the MIT License.