ThreeLab/Engine/Components/Component.h

13 lines
251 B
C
Raw Normal View History

2025-04-01 16:53:23 +00:00
#ifndef COMPONENT_H
#define COMPONENT_H
// Base Component class for all components.
class Component {
public:
virtual ~Component() {}
// Update the component each frame.
virtual void Update(float deltaTime) = 0;
};
#endif // COMPONENT_H