aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Component.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-07 15:27:28 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-07 15:27:28 +0100
commitbe58cc9342a775c21ec2ee28923414a5c612fe6e (patch)
tree6cfc5f7d4d403482afc5131f77369c99f0da1241 /src/crepe/Component.cpp
parent97515abfb2859e289df9d65d7106f35159749131 (diff)
add game_object_id_t type
Diffstat (limited to 'src/crepe/Component.cpp')
-rw-r--r--src/crepe/Component.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/Component.cpp b/src/crepe/Component.cpp
index cdbda67..af439ed 100644
--- a/src/crepe/Component.cpp
+++ b/src/crepe/Component.cpp
@@ -1,5 +1,6 @@
#include "Component.h"
+#include "types.h"
using namespace crepe;
-Component::Component(uint32_t id) : GAME_OBJECT_ID(id) {}
+Component::Component(game_object_id_t id) : GAME_OBJECT_ID(id) {}