Printing system names.

This commit is contained in:
Stiffly
2015-09-23 15:17:20 +02:00
parent e8e74eb506
commit 683b4cc3cf
+4
View File
@@ -58,7 +58,11 @@ void dd::World::Update(double dt)
{
const std::string &type = pair.first;
auto system = pair.second;
LOG_INFO("System: %s", type.c_str());
double timeStamp = glfwGetTime();
EventBroker->Process(type);
double t1 = glfwGetTime() - timeStamp;
LOG_INFO("Events: %d", t1);
system->Update(dt);
RecursiveUpdate(system, dt, 0);
}