summaryrefslogtreecommitdiffstats
path: root/src/World/Chunk.hpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-02-02 00:46:39 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-02-02 00:46:39 +0100
commit1e5e31581689d372fbf32bfdcc0a89417dbf6b70 (patch)
treee0866cff853e27e02d9457ae78578cabba12b4e6 /src/World/Chunk.hpp
parent22b9cfcb8bcf3567e15e2cfa2a6af5544e268973 (diff)
downloadMinedMap-1e5e31581689d372fbf32bfdcc0a89417dbf6b70.tar
MinedMap-1e5e31581689d372fbf32bfdcc0a89417dbf6b70.zip
Chunk: refactor getTopLayer()
Diffstat (limited to 'src/World/Chunk.hpp')
-rw-r--r--src/World/Chunk.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/World/Chunk.hpp b/src/World/Chunk.hpp
index d05328c..a08f9e6 100644
--- a/src/World/Chunk.hpp
+++ b/src/World/Chunk.hpp
@@ -122,6 +122,7 @@ public:
return *sections;
}
+ Block getBlock(size_t x, size_t y, size_t z) const;
Blocks getTopLayer() const;
};