summaryrefslogtreecommitdiffstats
path: root/src/world/Block.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/world/Block.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/world/Block.hpp b/src/world/Block.hpp
index 7c780c1..ae952c9 100644
--- a/src/world/Block.hpp
+++ b/src/world/Block.hpp
@@ -1,15 +1,17 @@
#pragma once
struct Block {
+ Block();
+
Block(unsigned short idAndState, unsigned char light);
Block(unsigned short id, unsigned char state, unsigned char light);
- Block();
-
~Block();
unsigned short id:13;
unsigned char state:4;
- unsigned char light:4;
-}; \ No newline at end of file
+ //unsigned char light:4;
+};
+
+bool operator<(const Block &lhs, const Block &rhs); \ No newline at end of file