float dt
Definition Main.cpp:10
#define ANVIL_API
Definition ACore.h:6
Represents an entity in the game engine with position, rotation, scale and components.
Definition AEntity.h:16
The IComponent class is an abstract base class that defines the interface for all components in the A...
Definition IComponent.h:12
AEntity * m_owner
Pointer to the entity that owns this component. This allows the component to access its parent entity...
Definition IComponent.h:40
virtual void OnUpdate(float dt)=0
Called once per frame to update the component's state.
virtual void OnInit(AEntity *owner)=0
Called when the component is initialized.
virtual ~IComponent()
Virtual destructor for the IComponent class. Ensures proper cleanup of derived class objects when del...
Definition IComponent.h:18
virtual void OnRender(AShader *shader)=0
Called to render the component.