Added crude absolute positioning when rendering

This commit is contained in:
sippeangelo
2015-12-09 15:26:49 +01:00
parent 578018607a
commit 90a79c702f
8 changed files with 73 additions and 14 deletions
+6
View File
@@ -47,6 +47,12 @@ const ComponentPool* World::GetComponents(std::string componentType)
return (it != m_ComponentPools.end()) ? it->second : nullptr;
}
EntityID World::GetParent(EntityID entity)
{
return m_EntityParents.at(entity);
}
EntityID World::generateEntityID()
{
// TODO: Make EntityID generation smarter