ZelComponentBase¶
-
class
ZelComponentBase
¶ Subclassed by ZelComponent< T >
Public Functions
-
virtual void
destroy
(zel_entity_id entity) = 0¶
-
virtual void
free
() = 0¶
-
zel_entity_id
get_entity
(zel_component_id component)¶
-
bool
has_component
(zel_entity_id entity)¶
-
uint32_t
total_components
()¶
Public Members
-
zel_generational_ptr
component_to_entity
[ZEL_MAX_ENTITIES
]¶
-
zel_generational_ptr
entity_to_component
[ZEL_MAX_ENTITIES
]¶
-
virtual void