12 _instances.push_back(
this);
17 std::erase(_instances,
this);
Component(IComponentSystem *system, Entity *entity)
IComponentSystem * system() const
ElementComponent(IComponentSystem *system, Entity *entity)
~ElementComponent() override
ECS entity — a GraphNode that hosts components defining its behavior.