diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-07 15:27:28 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-07 15:27:28 +0100 |
commit | be58cc9342a775c21ec2ee28923414a5c612fe6e (patch) | |
tree | 6cfc5f7d4d403482afc5131f77369c99f0da1241 /src/crepe/api/Metadata.cpp | |
parent | 97515abfb2859e289df9d65d7106f35159749131 (diff) |
add game_object_id_t type
Diffstat (limited to 'src/crepe/api/Metadata.cpp')
-rw-r--r-- | src/crepe/api/Metadata.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/crepe/api/Metadata.cpp b/src/crepe/api/Metadata.cpp index 55d9ae2..ab9612b 100644 --- a/src/crepe/api/Metadata.cpp +++ b/src/crepe/api/Metadata.cpp @@ -3,6 +3,5 @@ using namespace crepe; using namespace std; -Metadata::Metadata(uint32_t game_object_id, const string & name, - const string & tag) - : Component(game_object_id), NAME(name), TAG(tag) {} +Metadata::Metadata(game_object_id_t id, const string & name, const string & tag) + : Component(id), NAME(name), TAG(tag) {} |