aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Metadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/Metadata.h')
-rw-r--r--src/crepe/Metadata.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/crepe/Metadata.h b/src/crepe/Metadata.h
new file mode 100644
index 0000000..2f08476
--- /dev/null
+++ b/src/crepe/Metadata.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include <string>
+#include <vector>
+
+#include "Component.h"
+
+namespace crepe {
+
+class Metadata : public Component {
+public:
+ Metadata(uint32_t game_object_id, std::string name, std::string tag);
+ int get_instances_max() const;
+
+public:
+ std::string name;
+ std::string tag;
+ uint32_t parent = UINT32_MAX;
+ std::vector<uint32_t> children;
+};
+
+} // namespace crepe