22 static const std::vector<ButtonComponent*>&
instances() {
return _instances; }
28 inline static std::vector<ButtonComponent*> _instances;
29 Entity* _imageEntity =
nullptr;
Component(IComponentSystem *system, Entity *entity)
IComponentSystem * system() const
ECS entity — a GraphNode that hosts components defining its behavior.