aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Component.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/Component.h')
-rw-r--r--src/crepe/Component.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/crepe/Component.h b/src/crepe/Component.h
index 9cda177..9483dad 100644
--- a/src/crepe/Component.h
+++ b/src/crepe/Component.h
@@ -1,16 +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;
-
-public:
- bool active = true;
};
} // namespace crepe