summaryrefslogtreecommitdiffstats
path: root/src/Block.hpp
blob: 367e55910e2757acb1bf8ff896abf7ee422e579b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

struct Block {
	Block();

	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;
    unsigned char sky : 4;
};