]> git.localhorst.tv Git - blobs.git/blob - src/creature/InhaleNeed.hpp
eating and drinking
[blobs.git] / src / creature / InhaleNeed.hpp
1 #ifndef BLOBS_CREATURE_INHALENEED_HPP_
2 #define BLOBS_CREATURE_INHALENEED_HPP_
3
4 #include "Need.hpp"
5
6
7 namespace blobs {
8 namespace creature {
9
10 class Need;
11
12 class InhaleNeed
13 : public Need {
14
15 public:
16         InhaleNeed(int resource, double speed, double damage);
17         ~InhaleNeed() 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 inhaling;
27
28 };
29
30 }
31 }
32
33 #endif