aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Metadata.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-06 15:20:25 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-06 15:20:25 +0100
commit6296b85846b21083e4f545b209f1d9edce2b06f9 (patch)
treeae83cf160d44541850f970cc933530474d3cb651 /src/crepe/api/Metadata.cpp
parent5af0b90f11929ca99a48389ef29d8a56f39b0efd (diff)
Moved Matadata to api folder (because it may be used by the game programmer)
Diffstat (limited to 'src/crepe/api/Metadata.cpp')
-rw-r--r--src/crepe/api/Metadata.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/crepe/api/Metadata.cpp b/src/crepe/api/Metadata.cpp
new file mode 100644
index 0000000..53d93da
--- /dev/null
+++ b/src/crepe/api/Metadata.cpp
@@ -0,0 +1,8 @@
+#include "Metadata.h"
+
+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) {}