12#ifndef ECS__I_COMPONENT_H__
13#define ECS__I_COMPONENT_H__
61 inline void SetActive(
bool state) { this->m_Enabled = state; }
62 inline bool IsActive()
const {
return this->m_Enabled; }
ComponentId GetComponentId() const
EntityId GetOwner() const
bool operator!=(const IComponent &other) const
void SetActive(bool state)
ComponentId m_ComponentID
bool operator==(const IComponent &other) const
virtual void OnData(const CustomEvent &data)=0
static const ComponentId INVALID_COMPONENT_ID
static const ObjectID INVALID_OBJECT_ID