X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fcreature%2FCreature.hpp;h=4d16f99bd35857689b5f1e09b8dcb9deffcd854a;hp=3f86670eba4a9aa885e8056c5b3b1e7dd15a7c08;hb=a1b5d6dbc13d185b9ac459e421ae44b3ef8ce133;hpb=392826deaf802ac0960ed3924a3f98b9d18d381b diff --git a/src/creature/Creature.hpp b/src/creature/Creature.hpp index 3f86670..4d16f99 100644 --- a/src/creature/Creature.hpp +++ b/src/creature/Creature.hpp @@ -105,6 +105,8 @@ public: double Mass() const noexcept { return mass; } void Ingest(int res, double amount) noexcept; + void DoWork(double amount) noexcept; + void Size(double s) noexcept { size = s; } double Size() const noexcept { return size; } @@ -113,6 +115,7 @@ public: /// age-depended multiplier, peak being the maximum in lifetime [0,1] double AgeFactor(double peak) const noexcept; + double EnergyEfficiency() const noexcept; double ExhaustionFactor() const noexcept; double FatigueFactor() const noexcept;