Sdk/Application: Add GetUpdateTime()
Former-commit-id: 55acb0529b41860c56ad0717ab15005e4d237f0f
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user