X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fcreature%2FMemory.hpp;h=192d03aab091574b30199dce1c70407ca3b585ef;hp=1d72c751bc694516fc608e5a19058d854f925315;hb=cead4f0686af352cdbac1f2c2df9b6a21ad9faec;hpb=7e02b21428efa3ebec14a34d0c1f81e81d362bfc 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; };