ProtoZed  awesome branch
A simple but powerful game framework
Public Types | Public Member Functions | Public Attributes | List of all members
PZ::Archetype Class Reference

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
 

Member Typedef Documentation

typedef std::pair<std::string, std::string> PZ::Archetype::PropertyValuePair

Constructor & Destructor Documentation

PZ::Archetype::Archetype ( )
PZ::Archetype::~Archetype ( )

Member Function Documentation

bool PZ::Archetype::Create ( EntityManager manager,
const EntityID id 
) const

Member Data Documentation

ComponentList PZ::Archetype::components
std::string PZ::Archetype::name

The documentation for this class was generated from the following file: