Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Clock is an utility class for manipulating time. More...
#include <SFML/System/Clock.hpp>
Public Member Functions | |
| Clock () | |
| Default constructor. | |
| float | GetElapsedTime () const |
| Get the time elapsed since last reset. | |
| void | Reset () |
| Restart the timer. | |
| sf::Clock::Clock | ( | ) |
Default constructor.
| float sf::Clock::GetElapsedTime | ( | ) | const |
Get the time elapsed since last reset.
| void sf::Clock::Reset | ( | ) |
Restart the timer.