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