summaryrefslogtreecommitdiff
path: root/timedLatch.hpp
diff options
context:
space:
mode:
authorStephen Enders <smenders@gmail.com>2021-01-23 11:52:32 -0500
committerStephen Enders <smenders@gmail.com>2021-01-23 11:52:32 -0500
commita408a43cd105b89a8d44292e2ef69802a5660497 (patch)
treea70ce8c54f57c2f6f2a8603b9e45d352cc5bc083 /timedLatch.hpp
parentf01537a8ff454b68b83574f16cb4e2ff244a4e8a (diff)
Move source files to src folder
We'll be making a few source files it'll be useful to have them organized at least somewhat from our non-src files
Diffstat (limited to 'timedLatch.hpp')
-rw-r--r--timedLatch.hpp22
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