]> git.localhorst.tv Git - blank.git/blobdiff - src/ai/RandomWalk.hpp
state management and control
[blank.git] / src / ai / RandomWalk.hpp
index 0a61974fb2281c03b65ed4e9f6c363782bf44cad..41319dd53ae3d6d696c053791fb59de5d1856d9f 100644 (file)
@@ -14,6 +14,9 @@ class RandomWalk {
 public:
        explicit RandomWalk(Entity &) noexcept;
 
+       Entity &Controlled() noexcept { return entity; }
+       const Entity &Controlled() const noexcept { return entity; }
+
        void Update(int dt) noexcept;
 
 private: