diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-11-05 12:02:04 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-11-05 12:02:04 +0100 |
commit | 9adde5495c0c30d214c30e593cc289470448494c (patch) | |
tree | bfc2be1881ab9eddfc7c25d0930dfe1daaa7c182 /src/crepe/Metadata.h | |
parent | 8eac9296a487f5b77fc1cba269c70ee23f7603dc (diff) |
Added Matadata component
Diffstat (limited to 'src/crepe/Metadata.h')
-rw-r--r-- | src/crepe/Metadata.h | 22 |
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 |