1 #ifndef BLOBS_CREATURE_NEED_HPP_
2 #define BLOBS_CREATURE_NEED_HPP_
12 // how fast value grows per second
14 // the value at which this need is no longer satisfied
15 double critical = 0.0;
16 // the price to pay for not satsfying the need
19 void Tick(double dt) noexcept;
21 bool IsSatisfied() const noexcept { return value < critical; }