]> git.localhorst.tv Git - blank.git/blobdiff - src/world/World.hpp
adjust player index if entity is removed
[blank.git] / src / world / World.hpp
index 9ae0faa57217e629816a5e7f0744e4b2de88b0df..9739e21f18415eff4df70010fe9b588d82ba332b 100644 (file)
@@ -87,6 +87,10 @@ public:
 
        void Render(Viewport &);
 
+private:
+       using EntityHandle = std::list<Entity>::iterator;
+       EntityHandle RemoveEntity(EntityHandle &);
+
 private:
        Config config;