#include <miniBoard.h>
Public メソッド | |
OSquare () | |
OSquare (const Piece &p) | |
OSquare (const int i) | |
Square | getSquare () const |
Player | getOwner () const |
operator int () const | |
Static Public 変数 | |
static const size_t | total_bits = 9 |
Protected 変数 | |
int | value |
Square, Owner: 9 bits.
For GOLD. 1: Owner 0:Black; 1:WHITE 2345: Square x 6789: Square y
miniBoard.h の 19 行で定義されています。
osl::book::OSquare::OSquare | ( | ) | [inline] |
miniBoard.h の 23 行で定義されています。
osl::book::OSquare::OSquare | ( | const Piece & | p | ) | [inline] |
miniBoard.h の 24 行で定義されています。
参照先 osl::Piece::owner(), osl::book::OPiece::position2Bits(), osl::Piece::square(), と value.
osl::book::OSquare::OSquare | ( | const int | i | ) | [inline] |
miniBoard.h の 35 行で定義されています。
参照先 value.
Player osl::book::OSquare::getOwner | ( | ) | const [inline] |
Square osl::book::OSquare::getSquare | ( | ) | const [inline] |
miniBoard.h の 39 行で定義されています。
osl::book::OSquare::operator int | ( | ) | const [inline] |
miniBoard.h の 51 行で定義されています。
参照先 value.
const size_t osl::book::OSquare::total_bits = 9 [static] |
osl::book::OPSquareで再定義されています。
miniBoard.h の 22 行で定義されています。
参照元 osl::book::fromBase64(), と osl::book::MiniBoard::toBits().
int osl::book::OSquare::value [protected] |
miniBoard.h の 53 行で定義されています。
参照元 getOwner(), getSquare(), osl::book::OPSquare::isPromoted(), operator int(), osl::book::OPSquare::OPSquare(), と OSquare().