summaryrefslogtreecommitdiff
path: root/src/timedLatch.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timedLatch.hpp')
-rw-r--r--src/timedLatch.hpp7
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: