]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/Body.hpp
fix double deletes on app exit
[blobs.git] / src / world / Body.hpp
index df68984915bdf8e22b375280c7df6a10f073a449..5ac4fa1ddcfab52bf305b07825a03becff283612 100644 (file)
@@ -86,8 +86,8 @@ public:
 
        void Tick(double dt);
        void Cache() noexcept;
+       void CheckCollision() noexcept;
 
-       // body takes over ownership of given pointer
        void AddCreature(creature::Creature *);
        void RemoveCreature(creature::Creature *);
        std::vector<creature::Creature *> &Creatures() noexcept { return creatures; }