X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcreature%2FMemory.hpp;h=192d03aab091574b30199dce1c70407ca3b585ef;hb=HEAD;hp=1d72c751bc694516fc608e5a19058d854f925315;hpb=76c09039792065ca1c259fb4b681c84c29a9dbd8;p=blobs.git diff --git a/src/creature/Memory.hpp b/src/creature/Memory.hpp index 1d72c75..192d03a 100644 --- a/src/creature/Memory.hpp +++ b/src/creature/Memory.hpp @@ -35,6 +35,8 @@ public: /// location of the best fitting resource bool RememberLocation(const Composition &, glm::dvec3 &pos) const noexcept; + void TrackCollision(Creature &); + void Tick(double dt); private: @@ -52,6 +54,11 @@ private: double time_spent; }; std::map known_types; + struct Profile { + double annoyance = 0.0; + double familiarity = 0.0; + }; + std::map known_creatures; };