Stores last delta time passed into update()
Stores actual FPS value
Stores amount of updates between
Accumulates time before reaching update interval
Delta time value will clamped to meet interval [0;timeLimit]. This can prevent from value lags when entering hibernation or resizing the window.
fps will be updated each updateInterval seconds
Helper for measuring frames per second and setting static FPS. Usually needs to be located as field of game class.