GameTime
The most important thing to know is what time it is now! This can by found on the frame context, which provides two important different time representations:
running
- which is the time the game has been running for in total.delta
- which is how long has passed since the last update, which is important for smooth updates and animations.
Both are represented as Second
s.
The Scene
version of frame context objects additionally provide information about the running time of the particular scene you are in, and when the scene was last changed.