summaryrefslogtreecommitdiffstats
path: root/source/cChunkMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cChunkMap.h')
-rw-r--r--source/cChunkMap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/cChunkMap.h b/source/cChunkMap.h
index 19619f0c5..d1a289a7d 100644
--- a/source/cChunkMap.h
+++ b/source/cChunkMap.h
@@ -1,11 +1,12 @@
#pragma once
+class cWorld;
class cEntity;
class cChunk;
class cChunkMap
{
public:
- cChunkMap( int a_Width, int a_Height );
+ cChunkMap( int a_Width, int a_Height, cWorld* a_World );
~cChunkMap();
void AddChunk( cChunk* a_Chunk );
@@ -88,4 +89,5 @@ private:
cChunkNode* m_Nodes;
int m_Width, m_Height;
+ cWorld* m_World;
};