diff options
Diffstat (limited to 'src/World/Block.hpp')
-rw-r--r-- | src/World/Block.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/World/Block.hpp b/src/World/Block.hpp index 4bf0a0d..f2d481a 100644 --- a/src/World/Block.hpp +++ b/src/World/Block.hpp @@ -35,6 +35,15 @@ namespace World { struct Block { uint8_t id; uint8_t data; + + unsigned height; + + uint8_t blockLight; + uint8_t skyLight; + + Block() : id(0), data(0), height(0), blockLight(0), skyLight(0) {} + + uint32_t getColor() const; }; } |