Gaia-ECS v1.0.0
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::ArchetypeBase Class Reference

Base shared by archetype lookups and concrete archetypes, carrying the archetype id. More...

#include <archetype.h>

+ Inheritance diagram for gaia::ecs::ArchetypeBase:

Public Member Functions

GAIA_NODISCARD ArchetypeId id () const
 Archetype id used to address the archetype in the world list.
 

Protected Attributes

ArchetypeId m_archetypeId = ArchetypeIdBad
 Archetype ID - used to address the archetype directly in the world's list or archetypes.
 

Detailed Description

Base shared by archetype lookups and concrete archetypes, carrying the archetype id.

Member Function Documentation

◆ id()

GAIA_NODISCARD ArchetypeId gaia::ecs::ArchetypeBase::id ( ) const
inline

Archetype id used to address the archetype in the world list.

Returns
Archetype id.

The documentation for this class was generated from the following file: