The POD base type of class Code. More...
#include <Code.h>
Public Attributes | |
uint8_t | M_bits |
0000CTTT, where C is the color and TTT the type. | |
The POD base type of class Code.
This class represents a chess piece, either pawn, rook, knight, bishop, queen or king, and it's color, white or black.
See ColorData and TypeData for the encoding of the bits.
In order to refer to 'nothing', use the default constructor Code().