Square, Owner, Promoted : 10 bits. [詳細]
#include <miniBoard.h>
Public メソッド | |
OPSquare () | |
OPSquare (const Piece &p) | |
OPSquare (const int i) | |
bool | isPromoted () const |
Static Public 変数 | |
static const size_t | total_bits = 10 |
Square, Owner, Promoted : 10 bits.
For PAWN, LANCE, KNIGHT, SILVER, BISHOP and ROOK. 1: Promote 0:unpromoted; 1:promoted 2: Owner 0:Black; 1:WHITE 3456: Square x 789A: Square y
miniBoard.h の 64 行で定義されています。
osl::book::OPSquare::OPSquare | ( | ) | [inline] |
miniBoard.h の 68 行で定義されています。
osl::book::OPSquare::OPSquare | ( | const Piece & | p | ) | [inline] |
miniBoard.h の 69 行で定義されています。
osl::book::OPSquare::OPSquare | ( | const int | i | ) | [inline] |
miniBoard.h の 77 行で定義されています。
bool osl::book::OPSquare::isPromoted | ( | ) | const [inline] |
miniBoard.h の 79 行で定義されています。
const size_t osl::book::OPSquare::total_bits = 10 [static] |
osl::book::OSquareを再定義しています。
miniBoard.h の 67 行で定義されています。
参照元 osl::book::fromBase64(), と osl::book::MiniBoard::toBits().