EntityFilePreprocessor

WIP

WIP

EntityFilePreprocessor
This commit is contained in:
2015-12-17 17:26:36 +01:00
parent c6655ce0d3
commit 0bcbcda8b8
11 changed files with 741 additions and 63 deletions
+1
View File
@@ -55,6 +55,7 @@ void World::RegisterComponent(ComponentInfo& ci)
ComponentWrapper World::AttachComponent(EntityID entity, std::string componentType)
{
// TODO: Allocate dynamic pool if component isn't registered
ComponentPool* pool = m_ComponentPools.at(componentType);
const ComponentInfo& ci = pool->ComponentInfo();