diff options
Diffstat (limited to 'timedLatch.hpp')
-rw-r--r-- | timedLatch.hpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/timedLatch.hpp b/timedLatch.hpp deleted file mode 100644 index 77c7d49..0000000 --- a/timedLatch.hpp +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef UR_TIMEDLATCH_H -#define UR_TIMEDLATCH_H -#include <SFML/System.hpp> - -namespace ur { -class TimedLatch -{ -public: - TimedLatch(sf::Time duration); - void start(); - void reset(); - bool is_running(); - bool is_completed(); - -private: - bool isStarted; - sf::Time duration; - sf::Clock clock; // internal sfml clock to manage time -}; -} - -#endif |