Entities · type
Entity
An entity handle.
Explained in Entities.
type Entity = numberimport type { Entity } from '@driftengine/entities';In depth
A plain number so it stores in a typed array and compares with ===. It is opaque: reading the
index or the generation out of one is what entityIndex and entityGeneration are for, and code
that does the arithmetic itself is code that has to be found when the split moves.