]> git.localhorst.tv Git - blobs.git/blobdiff - src/creature/Memory.hpp
spherical planets
[blobs.git] / src / creature / Memory.hpp
index a6910cc196b6cab64be32c68daf074a55d3a6e74..c58fd26420576067d0688df153da1b5b0b6dd5df 100644 (file)
@@ -19,8 +19,7 @@ class Memory {
 public:
        struct Location {
                world::Planet *planet;
-               int surface;
-               glm::ivec2 coords;
+               glm::dvec3 position;
        };
 
 public:
@@ -30,6 +29,8 @@ public:
 public:
        void Tick(double dt);
 
+       void Erase();
+
 private:
        /// track time spent on a tile
        void TrackStay(const Location &, double t);