Archetype
Archetypes store a list of entities with the same EntityType, and provide functions to quickly move them between archetypes.
An example use case: If a query matches an archetype, it will also match all entities inside which gives a large performance boost to system iteration.
Functions
Link copied to clipboard
Adds an event handler that listens to certain events relating to entities in this archetype.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the archetype associated with removing componentId to this archetype's type.
Link copied to clipboard
Returns the archetype associated with adding componentId to this archetype's type.
Link copied to clipboard
Removes the entity at a row in this archetype, notifying running archetype iterators.