Chess Engine
A Chess Engine project written in C++.
Loading...
Searching...
No Matches
Color Struct Reference
Inheritance diagram for Color:
Iterable< Color >

Public Types

enum  : uint8_t {
  WHITE = 0 , BLACK = 1 , MASK = 0b1 , SIZE = 1 ,
  NB = 2
}

Public Member Functions

constexpr Color (uint8_t value)
constexpr uint8_t value () const
constexpr operator uint8_t ()

Static Public Member Functions

static constexpr uint8_t number ()
static constexpr uint8_t mask ()
static constexpr uint8_t size ()
Static Public Member Functions inherited from Iterable< Color >
static constexpr Color first ()
static constexpr Color last ()
static constexpr Range all ()

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