summaryrefslogtreecommitdiffstats
path: root/src/World.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-16 17:11:07 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-16 17:11:07 +0200
commitdee50239be8fff566b3ca687bc70900b391a8164 (patch)
tree6ff6ae2e8e2ea5109d031be8c588f4b8f38f68eb /src/World.hpp
parent2017-08-12 (diff)
downloadAltCraft-dee50239be8fff566b3ca687bc70900b391a8164.tar
AltCraft-dee50239be8fff566b3ca687bc70900b391a8164.tar.gz
AltCraft-dee50239be8fff566b3ca687bc70900b391a8164.tar.bz2
AltCraft-dee50239be8fff566b3ca687bc70900b391a8164.tar.lz
AltCraft-dee50239be8fff566b3ca687bc70900b391a8164.tar.xz
AltCraft-dee50239be8fff566b3ca687bc70900b391a8164.tar.zst
AltCraft-dee50239be8fff566b3ca687bc70900b391a8164.zip
Diffstat (limited to 'src/World.hpp')
-rw-r--r--src/World.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/World.hpp b/src/World.hpp
index 2415610..06155cf 100644
--- a/src/World.hpp
+++ b/src/World.hpp
@@ -49,4 +49,10 @@ public:
std::vector<Entity> entities;
void UpdatePhysics(float delta);
+
+ Entity& GetEntity(unsigned int EntityId);
+
+ std::vector<unsigned int> GetEntitiesList();
+
+ void AddEntity(Entity entity);
}; \ No newline at end of file