mirror of
https://gitlab.com/voidframe/voidframe-cpp.git
synced 2026-06-30 00:25:20 -04:00
Add base Component class
This commit is contained in:
13
include/component.h
Normal file
13
include/component.h
Normal 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;
|
||||
};
|
||||
@@ -1 +0,0 @@
|
||||
// Public code time!
|
||||
@@ -1 +0,0 @@
|
||||
// Code time!
|
||||
Reference in New Issue
Block a user