summaryrefslogblamecommitdiffstats
path: root/old/world/Block.hpp
blob: 2f823fe2cb4351d6f198b6bb57a73bf177ad399a (plain) (tree)
1
2
3
4
5
6
7
8
9

            
              
                
 
                                                      
 
                 
 


                                


                                                  
#pragma once

struct Block {
	Block();

	Block(unsigned short id, unsigned char state);

	~Block();

	unsigned short id : 13;
	unsigned char state : 4;
	//unsigned char light:4;
};

bool operator<(const Block &lhs, const Block &rhs);