Beautifully broken

This commit is contained in:
2014-05-22 22:04:54 +02:00
parent 609687d6b4
commit 4102756e33
14 changed files with 135 additions and 48 deletions
+2
View File
@@ -36,7 +36,9 @@ void World::Update(double dt)
{
for (auto pair : m_Systems)
{
const std::string &type = pair.first;
auto system = pair.second;
m_EventBroker->Process(type);
system->Update(dt);
RecursiveUpdate(system, dt, 0);
}