Add base Component class

This commit is contained in:
Maple Redleaf
2025-11-10 07:52:35 -06:00
parent 8e3420f32a
commit 63477b20f5
3 changed files with 13 additions and 2 deletions

13
include/component.h Normal file
View File

@@ -0,0 +1,13 @@
class Entity;
class Component {
public:
virtual void Init();
virtual void Draw();
virtual void Update();
virtual void FixedUpdate();
virtual void Destroy();
private:
Entity *owner;
};

View File

@@ -1 +0,0 @@
// Public code time!

View File

@@ -1 +0,0 @@
// Code time!