Children transforms relative to parents using TransformSystem::AbsolutePosition and TransformSystem::AbsoluteOrientation

This commit is contained in:
2014-03-13 23:44:32 +01:00
parent ebd54f0833
commit cbb8eac917
15 changed files with 199 additions and 66 deletions
+5 -10
View File
@@ -107,19 +107,14 @@ World::World()
void World::Initialize()
{
RegisterSystems();
AddSystems();
for (auto system : m_Systems) {
system.second->Initialize();
}
RegisterComponents();
}
void World::RegisterSystems()
{
}
void World::RegisterComponents()
{
}
std::shared_ptr<Component> World::AddComponent(EntityID entity, std::string componentType)
{
return AddComponent<Component>(entity, componentType);