diff options
Diffstat (limited to 'src/crepe/Component.h')
-rw-r--r-- | src/crepe/Component.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/crepe/Component.h b/src/crepe/Component.h index 8a42a45..9483dad 100644 --- a/src/crepe/Component.h +++ b/src/crepe/Component.h @@ -5,16 +5,12 @@ namespace crepe { class Component { protected: - Component() = default; + Component(uint32_t id); public: - Component(uint32_t id); - virtual ~Component() {} - // 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; + virtual ~Component() = default; }; } // namespace crepe |