cwchess::ColorData Struct Reference

The POD base type of class Color. More...

#include <Color.h>

Inheritance diagram for cwchess::ColorData:

List of all members.

Public Attributes

uint8_t M_bits
 0000C000, where C=0 means black and C=1 means white.

Detailed Description

The POD base type of class Color.

This class uses the same internal type as Code to store the color bit. It even uses the same bit (the fourth bit). All other bits are garanteed zero.

If the bit is set then the object represents the color white.

See also:
Color, black, white

Definition at line 44 of file Color.h.


The documentation for this struct was generated from the following file:

Copyright © 2006 - 2010 Carlo Wood.  All rights reserved.