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

            
              

                                                          
                                                                       
 
            
 
             
 



                          
#pragma once

struct 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;
};