]> git.localhorst.tv Git - blobs.git/blob - src/creature/IngestNeed.hpp
eating and drinking
[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 Need;
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         int resource;
24         double speed;
25         double damage;
26         bool ingesting;
27         bool locating;
28
29 };
30
31 }
32 }
33
34 #endif