#include <trapRook.h>
Static Public メソッド | |
static bool | isMember (const NumEffectState &state, Ptype ptype, Position from, Position to) |
Static Private メソッド | |
template<Direction Dir> | |
static bool | testDirection (const NumEffectState &state, Position initial) |
ؤ¦ | alt(P)֤(Τ˷빽ʳΨǹ)꤫ɤ |
trapRook.h の 15 行で定義されています。
bool osl::move_classifier::TrapRook< P >::isMember | ( | const NumEffectState & | state, | |
Ptype | ptype, | |||
Position | from, | |||
Position | to | |||
) | [inline, static] |
bool osl::move_classifier::TrapRook< P >::testDirection | ( | const NumEffectState & | state, | |
Position | initial | |||
) | [inline, static, private] |
trapRook.cc の 9 行で定義されています。
参照先 osl::Piece::canMoveOn(), osl::focus(), osl::Piece::isEmpty(), と osl::Piece::isOnBoardByOwner().