diff options
Diffstat (limited to 'src/crepe/Component.h')
-rw-r--r-- | src/crepe/Component.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/crepe/Component.h b/src/crepe/Component.h index d9a01ac..9483dad 100644 --- a/src/crepe/Component.h +++ b/src/crepe/Component.h @@ -1,17 +1,16 @@ #pragma once +#include <cstdint> namespace crepe { class Component { protected: - Component() = default; + Component(uint32_t id); public: + uint32_t gameObjectId; + bool active; virtual ~Component() = default; - // TODO: shouldn't this constructor be deleted because this class will never - // directly be instantiated? - - bool active = true; }; } // namespace crepe |