diff --git a/include/MapBlock.h b/include/MapBlock.h index 93523ab..a394186 100644 --- a/include/MapBlock.h +++ b/include/MapBlock.h @@ -47,6 +47,10 @@ class NodeManager class BlockManager { + public: + NodeManager mapBlocks[8][8]; // 8 x 8 blocks + + private: }; diff --git a/main.cpp b/main.cpp index 0633836..657e0bb 100644 --- a/main.cpp +++ b/main.cpp @@ -9,6 +9,7 @@ #include NodeRenderer renderer; +BlockManager blockManager; NodeManager nodeManager(0, 0); NodeManager nodeManager1(1, 0); TextureHandler textureHandler;