1
0

Added cWorld::ForEachEntityInBox()

This commit is contained in:
madmaxoft
2014-09-03 17:00:26 +02:00
parent 9eb07f483a
commit a51c1e0b73
8 changed files with 117 additions and 0 deletions

View File

@@ -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);