![]() |
Middle Europe Productions Library
alpha 1.3.3
|
Statistics of a window. More...
#include <WindowStat.h>
Public Member Functions | |
| WindowStats ()=default | |
| void | updateStatistics (sf::Time dt) |
| unsigned int | getFrameRate () const |
| sf::Time & | getGlobalTime () |
| ~WindowStats ()=default | |
Additional Inherited Members | |
Protected Member Functions inherited from MEP::NonCopyable | |
| NonCopyable ()=default | |
| ~NonCopyable ()=default | |
Statistics of a window.
Holds information about basic window statistics related to time in general. Avalible operations:
Frame rate.
Global time.
|
default |
|
default |
|
inline |
Outputs number of frames in latest updateStatistics call.
|
inline |
Outputs current global time.
|
inline |
Updates statistics of a main code loop
| [in] | dt | : Current time |