summaryrefslogtreecommitdiffstats
path: root/src/world/Block.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/world/Block.hpp')
-rw-r--r--src/world/Block.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/world/Block.hpp b/src/world/Block.hpp
index 50268f3..2f823fe 100644
--- a/src/world/Block.hpp
+++ b/src/world/Block.hpp
@@ -1,15 +1,15 @@
#pragma once
struct Block {
- Block();
+ Block();
- Block(unsigned short id, unsigned short state);
+ Block(unsigned short id, unsigned char state);
- ~Block();
+ ~Block();
- unsigned short id:13;
- unsigned char state:4;
- //unsigned char light:4;
+ 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