]> git.localhorst.tv Git - blobs.git/blob - src/creature/IngestNeed.hpp
remove outdated TODOs
[blobs.git] / src / creature / IngestNeed.hpp
1 #ifndef BLOBS_CREATURE_INGESTNEED_HPP_
2 #define BLOBS_CREATURE_INGESTNEED_HPP_
3
4 #include "Need.hpp"
5
6
7 namespace blobs {
8 namespace creature {
9
10 class Goal;
11
12 class IngestNeed
13 : public Need {
14
15 public:
16         IngestNeed(int resource, double speed, double damage);
17         ~IngestNeed() override;
18
19 public:
20         void ApplyEffect(Creature &, double dt) override;
21
22 private:
23         void OnLocateComplete(Goal &);
24
25 private:
26         Goal *locate_goal;
27         int resource;
28         double speed;
29         double damage;
30         bool ingesting;
31
32 };
33
34 }
35 }
36
37 #endif