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

            
              

            
                                                   
 
             
 

                          



                                                  
#pragma once

struct Block {
    Block();

    Block(unsigned short id, unsigned short state);

    ~Block();

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

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