My Project
|
#include <enterKing.h>
Static Public Member Functions | |
static bool | canDeclareWin (const NumEffectState &state) |
template<Player P> | |
static bool | canDeclareWin (const NumEffectState &state) |
static bool | canDeclareWin (const NumEffectState &state, int &drops) |
template<Player P> | |
static bool | canDeclareWin (const NumEffectState &state, int &drops) |
Definition at line 12 of file enterKing.h.
|
static |
Definition at line 5 of file enterKing.cc.
References osl::BLACK, and osl::SimpleState::turn().
|
static |
Definition at line 15 of file enterKing.cc.
References osl::alt(), osl::BISHOP, osl::BLACK, osl::SimpleState::countPiecesOnStand(), osl::GOLD, osl::NumEffectState::hasEffectAt(), osl::isMajor(), osl::Piece::isOnBoardByOwner(), osl::SimpleState::kingSquare(), osl::KNIGHT, osl::LANCE, osl::PAWN, osl::SimpleState::pieceOnBoard(), osl::Piece::ptype(), osl::ROOK, osl::SILVER, osl::SimpleState::turn(), and osl::Square::y().
|
static |
Definition at line 69 of file enterKing.cc.
References osl::BLACK, and osl::SimpleState::turn().
|
static |
Definition at line 79 of file enterKing.cc.
References osl::alt(), osl::BISHOP, osl::BLACK, osl::SimpleState::countPiecesOnStand(), osl::GOLD, osl::NumEffectState::hasEffectAt(), osl::isMajor(), osl::Piece::isOnBoardByOwner(), osl::SimpleState::kingSquare(), osl::KNIGHT, osl::LANCE, osl::PAWN, osl::SimpleState::pieceOnBoard(), osl::Piece::ptype(), osl::ROOK, osl::SILVER, osl::SimpleState::turn(), and osl::Square::y().