diff options
| author | Steph Enders <smenders@gmail.com> | 2023-02-26 10:43:21 -0500 |
|---|---|---|
| committer | Steph Enders <smenders@gmail.com> | 2023-02-26 10:43:21 -0500 |
| commit | 975055e40938730cb09d151ba17bf8defd3b4adf (patch) | |
| tree | c5a6051ceb45a1351428f79c22e28e61d8a0bf6a /src/timedLatch.hpp | |
| parent | 0bf89ad39d4c3659f3164639e4fbe7ca074fa04a (diff) | |
Code quality and improvements
I genuinely cannot remember what I was doing here, as I never committed
it. But basically - it looks like I used my IDE and fixed warnings and
improved some code blocks / references
Diffstat (limited to 'src/timedLatch.hpp')
| -rw-r--r-- | src/timedLatch.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/timedLatch.hpp b/src/timedLatch.hpp index 77c7d49..30e3f43 100644 --- a/src/timedLatch.hpp +++ b/src/timedLatch.hpp @@ -1,15 +1,20 @@ #ifndef UR_TIMEDLATCH_H #define UR_TIMEDLATCH_H + #include <SFML/System.hpp> namespace ur { class TimedLatch { public: - TimedLatch(sf::Time duration); + explicit TimedLatch(sf::Time duration); + void start(); + void reset(); + bool is_running(); + bool is_completed(); private: |