-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathentitytemplate.hpp
More file actions
30 lines (27 loc) · 804 Bytes
/
entitytemplate.hpp
File metadata and controls
30 lines (27 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once
#include <fea/config.hpp>
namespace fea
{
using EntityTemplateAttributes = std::unordered_map<std::string, std::string>;
struct FEA_API EntityTemplate
{
std::vector<std::string> mInherits;
std::unordered_map<std::string, std::string> mAttributes;
};
/** @addtogroup EntitySystem
*@{
* @class EntityTemplate
*@}
***
* @class EntityTemplate
* @brief Defines an entity template
*
* Entity templates contain a list of other templates they inherit from, and a map of attributes with default values.
***
* @var EntityTemplate::mInherits
* @brief List of templates to inherit from.
***
* @var EntityTemplate::mAttributes
* @brief Map of attributes with default values.
***/
}