mirror of
https://gitlab.com/voidframe/voidframe-cpp.git
synced 2026-10-11 23:10:08 -04:00
Add base Component class
This commit is contained in:
1 parent
8e3420f32a
commit
63477b20f5
3 files changed
+13
-2
No files matched your search
@@ -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;
|
||||
};
|
||||
@@ -1 +0,0 @@
|
||||
// Public code time!
|
||||
@@ -1 +0,0 @@
|
||||
// Code time!
|
||||
Reference in new issue
Block a user