Archetype lookup key that compares against a component term span instead of a full archetype id.
More...
#include <archetype.h>
|
|
| ArchetypeLookupChecker (EntitySpan comps) |
| |
| GAIA_NODISCARD bool | cmp_comps (const ArchetypeLookupChecker &other) const |
| | Compares the lookup checker component spans in archetype order.
|
| |
| GAIA_NODISCARD ArchetypeId | id () const |
| | Archetype id used to address the archetype in the world list.
|
| |
|
|
ArchetypeId | m_archetypeId = ArchetypeIdBad |
| | Archetype ID - used to address the archetype directly in the world's list or archetypes.
|
| |
Archetype lookup key that compares against a component term span instead of a full archetype id.
◆ cmp_comps()
| GAIA_NODISCARD bool gaia::ecs::ArchetypeLookupChecker::cmp_comps |
( |
const ArchetypeLookupChecker & |
other | ) |
const |
|
inline |
Compares the lookup checker component spans in archetype order.
- Parameters
-
| other | Other checker to compare against. |
- Returns
- True when both spans match element-wise.
The documentation for this class was generated from the following file:
- /home/runner/work/gaia-ecs/gaia-ecs/include/gaia/ecs/archetype.h