diff options
Diffstat (limited to 'src/crepe/Component.h')
-rw-r--r-- | src/crepe/Component.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/crepe/Component.h b/src/crepe/Component.h new file mode 100644 index 0000000..bc44865 --- /dev/null +++ b/src/crepe/Component.h @@ -0,0 +1,22 @@ +#pragma once + +#include <cstdint> + +namespace crepe { + +class ComponentManager; + +class Component { +protected: + friend class crepe::ComponentManager; + Component(uint32_t id); + +public: + virtual ~Component() = default; + +public: + uint32_t game_object_id; + bool active; +}; + +} // namespace crepe |