summaryrefslogtreecommitdiffstats
path: root/src/Block.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Block.hpp')
-rw-r--r--src/Block.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Block.hpp b/src/Block.hpp
index 2f823fe..367e559 100644
--- a/src/Block.hpp
+++ b/src/Block.hpp
@@ -3,13 +3,12 @@
struct Block {
Block();
- Block(unsigned short id, unsigned char state);
+ Block(unsigned short id, unsigned char state, unsigned char light, unsigned char sky);
~Block();
unsigned short id : 13;
unsigned char state : 4;
- //unsigned char light:4;
-};
-
-bool operator<(const Block &lhs, const Block &rhs); \ No newline at end of file
+ unsigned char light : 4;
+ unsigned char sky : 4;
+}; \ No newline at end of file