ThreeLab/Engine/Components/Component.h
2025-04-01 11:53:23 -05:00

13 lines
251 B
C++

#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