X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FRandomWalk.hpp;fp=src%2Fapp%2FRandomWalk.hpp;h=5660ab36390eaf79e113f7b441bb211a27d2a1a0;hb=b7d09e1e35ef90282c97509e0020b20db3c7ea9f;hp=0000000000000000000000000000000000000000;hpb=e53a0e2e711a7d8bd9b0ddacd1360aa14370643f;p=blank.git diff --git a/src/app/RandomWalk.hpp b/src/app/RandomWalk.hpp new file mode 100644 index 0000000..5660ab3 --- /dev/null +++ b/src/app/RandomWalk.hpp @@ -0,0 +1,27 @@ +#ifndef BLANK_APP_RANDOMWALK_HPP_ +#define BLANK_APP_RANDOMWALK_HPP_ + +#include + + +namespace blank { + +class Entity; + +class RandomWalk { + +public: + explicit RandomWalk(Entity &) noexcept; + + void Update(int dt) noexcept; + +private: + Entity &entity; + + int time_left; + +}; + +} + +#endif