diff options
Diffstat (limited to 'src/crepe/Component.h')
-rw-r--r-- | src/crepe/Component.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/crepe/Component.h b/src/crepe/Component.h index 16a4ce5..c8fb6bc 100644 --- a/src/crepe/Component.h +++ b/src/crepe/Component.h @@ -1,13 +1,15 @@ #pragma once +#include <cstdint> namespace crepe { class Component { public: - Component(); + Component(uint32_t id); // TODO: shouldn't this constructor be deleted because this class will never // directly be instantiated? - + //changed so it sets the id (jaro) + uint32_t gameObjectId; bool active; }; |