aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Metadata.h
blob: 157798735feef524007ec975e4c1c794b5c28ad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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