From 975055e40938730cb09d151ba17bf8defd3b4adf Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Sun, 26 Feb 2023 10:43:21 -0500 Subject: 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 --- src/timedLatch.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/timedLatch.hpp') 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 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: -- cgit v1.2.3-54-g00ecf