1 #ifndef BLOBS_CREATURE_MEMORY_HPP_
2 #define BLOBS_CREATURE_MEMORY_HPP_
4 #include "../math/glm.hpp"
21 world::Planet *planet;
26 explicit Memory(Creature &);
30 /// remove all memories
33 /// try to remember where stuff was
34 /// when true, pos contains an approximation of the
35 /// location of the best fitting resource
36 bool RememberLocation(const Composition &, glm::dvec3 &pos) const noexcept;
38 void TrackCollision(Creature &);
43 /// track time spent on a tile
44 void TrackStay(const Location &, double t);
56 std::map<int, Stay> known_types;
58 double annoyance = 0.0;
59 double familiarity = 0.0;
61 std::map<Creature *, Profile> known_creatures;