aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Metadata.h
blob: b946fd0d880a23b837ebe4484fbbb3a0f1c07236 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <string>
#include <vector>

#include "Component.h"

namespace crepe {

class Metadata : public Component {
public:
	Metadata(uint32_t game_object_id, const std::string & name, const std::string & tag);
	virtual int get_instances_max() const { return 1; }

public:
	std::string name;
	std::string tag;
	uint32_t parent = -1;
	std::vector<uint32_t> children;
};

} // namespace crepe