summaryrefslogtreecommitdiff
path: root/src/helpers/Timer.hpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2023-08-05 23:29:33 +0200
committervaxerski <vaxry@vaxry.net>2023-08-05 23:29:33 +0200
commita077b7a92e87a3edd1cebb9bdd4c4fa3ec3d7bb7 (patch)
tree50ad00b5bf146872926fa6e67f791096670fd0d9 /src/helpers/Timer.hpp
parentb925f1b49774b38ab670815e78726fe16295d0d9 (diff)
animationmgr: avoid redundant ticks
Diffstat (limited to 'src/helpers/Timer.hpp')
-rw-r--r--src/helpers/Timer.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/helpers/Timer.hpp b/src/helpers/Timer.hpp
index 7b5bfc9d..4ab0d294 100644
--- a/src/helpers/Timer.hpp
+++ b/src/helpers/Timer.hpp
@@ -4,9 +4,10 @@
class CTimer {
public:
- void reset();
- float getSeconds();
- int getMillis();
+ void reset();
+ float getSeconds();
+ int getMillis();
+ const std::chrono::system_clock::time_point& chrono() const;
private:
std::chrono::system_clock::time_point m_tpLastReset;