Added base work for dity bits in components

This commit is contained in:
2016-03-08 18:26:03 +01:00
parent 5d53fc74cb
commit b7d93058b1
10 changed files with 86 additions and 53 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ void World::DeleteComponent(EntityID entity, const std::string& componentType)
}
}
const ComponentPool* World::GetComponents(const std::string& componentType)
ComponentPool* World::GetComponents(const std::string& componentType)
{
auto it = m_ComponentPools.find(componentType);
return (it != m_ComponentPools.end()) ? it->second : nullptr;