ProtoZed
awesome branch
A simple but powerful game framework
|
Public Types | |
typedef std::pair< std::string, std::string > | PropertyValuePair |
typedef std::vector < PropertyValuePair > | PropertyValueList |
typedef std::pair< std::string, PropertyValueList > | ComponentPropertyPair |
typedef std::vector < ComponentPropertyPair > | ComponentList |
Public Member Functions | |
Archetype () | |
~Archetype () | |
bool | Create (EntityManager &manager, const EntityID &id) const |
Public Attributes | |
std::string | name |
ComponentList | components |
typedef std::vector<ComponentPropertyPair> PZ::Archetype::ComponentList |
typedef std::pair<std::string, PropertyValueList> PZ::Archetype::ComponentPropertyPair |
typedef std::vector<PropertyValuePair> PZ::Archetype::PropertyValueList |
typedef std::pair<std::string, std::string> PZ::Archetype::PropertyValuePair |
PZ::Archetype::Archetype | ( | ) |
PZ::Archetype::~Archetype | ( | ) |
bool PZ::Archetype::Create | ( | EntityManager & | manager, |
const EntityID & | id | ||
) | const |
ComponentList PZ::Archetype::components |
std::string PZ::Archetype::name |