Sdk/Application: Add GetUpdateTime()

Former-commit-id: 55acb0529b41860c56ad0717ab15005e4d237f0f
This commit is contained in:
Lynix
2016-04-01 18:57:23 +02:00
parent 8732cc9459
commit 2736081578
3 changed files with 11 additions and 2 deletions

View File

@@ -28,11 +28,11 @@ namespace Ndk
}
#endif
float elapsedTime = m_updateClock.GetSeconds();
m_updateTime = m_updateClock.GetSeconds();
m_updateClock.Restart();
for (World& world : m_worlds)
world.Update(elapsedTime);
world.Update(m_updateTime);
if (m_shouldQuit)
return false;