Updated all uses of EntityXMLFile to use the new EntityFile to load entities into a world.

This commit is contained in:
2016-03-02 20:12:59 +01:00
parent 3ef15dcb81
commit 7624c6ee0a
17 changed files with 41 additions and 60 deletions
@@ -21,12 +21,13 @@
class EntityXMLFilePreprocessor
{
friend class EntityFile;
public:
EntityXMLFilePreprocessor(const EntityXMLFile* entityFile);
private:
void RegisterComponents(World* world);
private:
const EntityXMLFile* m_EntityFile;
std::map<std::string, unsigned int> m_ComponentCounts;
std::map<std::string, ComponentInfo> m_ComponentInfo;