Contains timing values for game updates and rendering.
More...
#include <GameTime.h>
Contains timing values for game updates and rendering.
◆ GetTimeElapsed()
| double KatanaEngine::GameTime::GetTimeElapsed |
( |
| ) |
const |
|
inline |
Gets the time in seconds since last frame.
- Returns
- Returns the number of seconds since the last frame.
◆ GetTotalTime()
| double KatanaEngine::GameTime::GetTotalTime |
( |
| ) |
const |
|
inline |
Gets the time in seconds since the game started.
- Returns
- Returns the number of seconds since the game started.
The documentation for this class was generated from the following files: