summaryrefslogtreecommitdiffstats
path: root/World.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-05-12 15:49:50 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-05-12 15:49:50 +0200
commite62817b8252974b8a98393275874ee303840bf13 (patch)
tree4565935f06e369f4a84410b0c098958e07a750c7 /World.hpp
parent2017-05-10 (diff)
downloadAltCraft-e62817b8252974b8a98393275874ee303840bf13.tar
AltCraft-e62817b8252974b8a98393275874ee303840bf13.tar.gz
AltCraft-e62817b8252974b8a98393275874ee303840bf13.tar.bz2
AltCraft-e62817b8252974b8a98393275874ee303840bf13.tar.lz
AltCraft-e62817b8252974b8a98393275874ee303840bf13.tar.xz
AltCraft-e62817b8252974b8a98393275874ee303840bf13.tar.zst
AltCraft-e62817b8252974b8a98393275874ee303840bf13.zip
Diffstat (limited to 'World.hpp')
-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