EntityFilePreprocessor
WIP WIP EntityFilePreprocessor
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user