Entities

View source

ExtendsDenseList

Associates each entity slot in a World with its current EntityLocation.

The world uses this indexed registry to resolve an EntityHandle to its current Archetype, Table, and row. A location is updated when an entity changes component layout, when dense table storage moves a row, or when the entity is despawned. Recycled slot indexes can then be assigned to a later entity while its generation distinguishes the new handle from an older one.

It inherits indexed storage operations from DenseList.

Constructor


constructor()

View source

Creates an empty entity-location registry.

  • @inheritDoc