aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Component.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 21:27:01 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 21:27:01 +0200
commit080ad535e6fc6666b919b1a21b6986aaf9b678eb (patch)
treef4d96cb68769ddd06087977ad7d26c3fd31ff4e8 /src/crepe/Component.h
parentde356f60b91fab37b1456992dc66ada8bd8e4dd7 (diff)
initial nitpicking
Diffstat (limited to 'src/crepe/Component.h')
-rw-r--r--src/crepe/Component.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/crepe/Component.h b/src/crepe/Component.h
index 9483dad..ccf95cb 100644
--- a/src/crepe/Component.h
+++ b/src/crepe/Component.h
@@ -3,14 +3,18 @@
namespace crepe {
+class ComponentManager;
+
class Component {
protected:
+ friend class crepe::ComponentManager;
Component(uint32_t id);
+public:
+ virtual ~Component() = default;
public:
uint32_t gameObjectId;
bool active;
- virtual ~Component() = default;
};
} // namespace crepe