打歩詰の判定. More...
#include <pawnDropCheckmate.h>
| Static Public Member Functions | |
| static bool | canEscape (const NumEffectState &state, Square kingSquare, Direction dir, Square dropAt) | 
| kingSquare に居る alt(P)の玉が dir 方向に逃げられるか.  More... | |
| static bool | escape7 (const NumEffectState &state, Square kingSquare, Square to) | 
| 王が前以外に移動可能か  More... | |
| static bool | isMember (const NumEffectState &state, Ptype ptype, Square from, Square to) | 
打歩詰の判定.
| P | 指手(攻撃)側 | 
Definition at line 18 of file pawnDropCheckmate.h.
| 
 | static | 
kingSquare に居る alt(P)の玉が dir 方向に逃げられるか.
Definition at line 66 of file pawnDropCheckmate.h.
References osl::Board_Table, osl::BoardTable::getOffset(), osl::BoardTable::getShortOffsetNotKnight(), osl::Square::isEdge(), osl::Piece::isOnBoardByOwner(), osl::Piece::owner(), osl::Piece::square(), and target.
| 
 | static | 
王が前以外に移動可能か
Definition at line 102 of file pawnDropCheckmate.h.
References osl::D, osl::DL, osl::DR, osl::L, osl::R, osl::UL, and osl::UR.
Referenced by osl::move_classifier::PawnDropCheckmate< P >::isMember().
| 
 | inlinestatic | 
Definition at line 28 of file pawnDropCheckmate.h.
References osl::Piece::EMPTY(), osl::move_classifier::PawnDropCheckmate< P >::escape7(), osl::Square::isPieceStand(), osl::PAWN, and osl::Piece::square().
 1.8.4
 1.8.4