summaryrefslogtreecommitdiffstats
path: root/World.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--World.hpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/World.hpp b/World.hpp
index 89873b6..1f35585 100644
--- a/World.hpp
+++ b/World.hpp
@@ -10,12 +10,6 @@
#include "Section.hpp"
class World {
-public:
- World();
- ~World();
- void ParseChunkData(Packet packet);
- std::map<PositionI, Section> m_sections;
-private:
//utility vars
World(const World& other);
World&operator=(const World &other);
@@ -30,4 +24,9 @@ private:
int m_dimension = 0;
//game methods
Section ParseSection(byte *data, size_t &dataLen);
+public:
+ World();
+ ~World();
+ void ParseChunkData(Packet packet);
+ std::map<PositionI, Section> m_sections;
}; \ No newline at end of file