X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcreature%2FNeed.hpp;h=67abe3c496d9ceab645625a986920cdee3a29c84;hb=8a3907bb0bed257bf5d6f40f39f15114e8345913;hp=2fd4898f3e40aa927b4f6fa9c9ac2c5770694059;hpb=e59f3058d8786dc0a053c42bcec8f01b22ec25a9;p=blobs.git diff --git a/src/creature/Need.hpp b/src/creature/Need.hpp index 2fd4898..67abe3c 100644 --- a/src/creature/Need.hpp +++ b/src/creature/Need.hpp @@ -26,6 +26,8 @@ struct Need { virtual ~Need() noexcept; void Tick(double dt) noexcept; + void Increase(double) noexcept; + void Decrease(double) noexcept; bool IsSatisfied() const noexcept { return value < inconvenient; } bool IsInconvenient() const noexcept { return value >= inconvenient && value < critical; }