aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Metadata.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-05 12:02:04 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-05 12:02:04 +0100
commit9adde5495c0c30d214c30e593cc289470448494c (patch)
treebfc2be1881ab9eddfc7c25d0930dfe1daaa7c182 /src/crepe/Metadata.cpp
parent8eac9296a487f5b77fc1cba269c70ee23f7603dc (diff)
Added Matadata component
Diffstat (limited to 'src/crepe/Metadata.cpp')
-rw-r--r--src/crepe/Metadata.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/crepe/Metadata.cpp b/src/crepe/Metadata.cpp
new file mode 100644
index 0000000..3d1d910
--- /dev/null
+++ b/src/crepe/Metadata.cpp
@@ -0,0 +1,10 @@
+#include "Metadata.h"
+
+using namespace crepe;
+using namespace std;
+
+Metadata::Metadata(uint32_t gameObjectId, string name, string tag) : Component(gameObjectId), name(name), tag(tag) {}
+
+int Metadata::get_instances_max() const {
+ return 1;
+}