Entity * getParent() const
Returns the parent entity of this component.
Definition wComponent.cpp:50
bool isEnabled() const
Checks whether the component is currently active.
Definition wComponent.cpp:40
virtual void disable()
Definition wComponent.cpp:35
void setParent(Entity *parent)
Sets the parent entity of this component.
Definition wComponent.cpp:45
virtual void enable()
Definition wComponent.cpp:30
virtual ~Component()=default
Component()
Protected constructor to restrict instantiation to derived classes.
Definition wComponent.cpp:17
Represents an entity in the ECS (Entity-Component System) architecture.
Definition wEntity.hpp:60
Definition wColorComponent.cpp:9