]> git.localhorst.tv Git - blobs.git/blob - StrollGoal.hpp
969e4da1640d03f110a3106155f5d60dca763ef7
[blobs.git] / StrollGoal.hpp
1 #ifndef BLOBS_CREATURE_STROLLGOAL_HPP_
2 #define BLOBS_CREATURE_STROLLGOAL_HPP_
3
4 #include "Goal.hpp"
5
6 #include "../math/glm.hpp"
7
8
9 namespace blobs {
10 namespace creature {
11
12 class StrollGoal
13 : public Goal {
14
15 public:
16         explicit StrollGoal(Creature &);
17         ~StrollGoal() override;
18
19 public:
20         std::string Describe() const override;
21         void Enable() override;
22         void Action() override;
23         void OnBackground() override;
24
25         void PickTarget() noexcept;
26
27 private:
28         glm::dvec3 last;
29         glm::dvec3 next;
30
31 };
32
33 }
34 }
35
36 #endif