]> git.localhorst.tv Git - blank.git/blobdiff - src/app/RandomWalk.hpp
some code reorganization
[blank.git] / src / app / RandomWalk.hpp
diff --git a/src/app/RandomWalk.hpp b/src/app/RandomWalk.hpp
new file mode 100644 (file)
index 0000000..5660ab3
--- /dev/null
@@ -0,0 +1,27 @@
+#ifndef BLANK_APP_RANDOMWALK_HPP_
+#define BLANK_APP_RANDOMWALK_HPP_
+
+#include <glm/glm.hpp>
+
+
+namespace blank {
+
+class Entity;
+
+class RandomWalk {
+
+public:
+       explicit RandomWalk(Entity &) noexcept;
+
+       void Update(int dt) noexcept;
+
+private:
+       Entity &entity;
+
+       int time_left;
+
+};
+
+}
+
+#endif