summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-09-03 17:00:26 +0200
committermadmaxoft <github@xoft.cz>2014-09-03 17:00:26 +0200
commita51c1e0b73a83cddcce865671ca30240393e458f (patch)
tree688e63c296f02e327b4ee2f9e117a172a6e2d85b /src/World.cpp
parentcBoundingBox: Added accessors. (diff)
downloadcuberite-a51c1e0b73a83cddcce865671ca30240393e458f.tar
cuberite-a51c1e0b73a83cddcce865671ca30240393e458f.tar.gz
cuberite-a51c1e0b73a83cddcce865671ca30240393e458f.tar.bz2
cuberite-a51c1e0b73a83cddcce865671ca30240393e458f.tar.lz
cuberite-a51c1e0b73a83cddcce865671ca30240393e458f.tar.xz
cuberite-a51c1e0b73a83cddcce865671ca30240393e458f.tar.zst
cuberite-a51c1e0b73a83cddcce865671ca30240393e458f.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 99e09c658..d3751364f 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -2696,6 +2696,15 @@ bool cWorld::ForEachEntityInChunk(int a_ChunkX, int a_ChunkZ, cEntityCallback &
+bool cWorld::ForEachEntityInBox(const cBoundingBox & a_Box, cEntityCallback & a_Callback)
+{
+ return m_ChunkMap->ForEachEntityInBox(a_Box, a_Callback);
+}
+
+
+
+
+
bool cWorld::DoWithEntityByID(int a_UniqueID, cEntityCallback & a_Callback)
{
return m_ChunkMap->DoWithEntityByID(a_UniqueID, a_Callback);