#include <pin.h>
Static Public Member Functions | |
template<Player Defense> | |
static PieceMask | makeStep (const NumEffectState &state, Square target) |
static PieceMask | makeStep (const NumEffectState &state, Square target, Player defense) |
static PieceMask | make (const NumEffectState &state, Player defense) |
Static Private Member Functions | |
template<Player Defense, Direction DIR> | |
static void | findDirectionStep (const NumEffectState &state, Square target, PieceMask &pins, PieceMask const &onBoard) |
駒から8近傍をサーチしていって,その方向の利きがあるか? |
Definition at line 14 of file effect_util/pin.h.
static void osl::effect_util::PinOrOpen::findDirectionStep | ( | const NumEffectState & | state, |
Square | target, | ||
PieceMask & | pins, | ||
PieceMask const & | onBoard | ||
) | [inline, static, private] |
駒から8近傍をサーチしていって,その方向の利きがあるか?
Definition at line 21 of file effect_util/pin.h.
References osl::Piece::isEdgeNum(), osl::Piece::isEmptyNum(), and osl::Piece::isPieceNum().
static PieceMask osl::effect_util::PinOrOpen::make | ( | const NumEffectState & | state, |
Player | defense | ||
) | [inline, static] |
Definition at line 60 of file effect_util/pin.h.
References osl::BLACK, and makeStep().
static PieceMask osl::effect_util::PinOrOpen::makeStep | ( | const NumEffectState & | state, |
Square | target | ||
) | [inline, static] |
Definition at line 37 of file effect_util/pin.h.
References osl::alt(), and target.
Referenced by make().
static PieceMask osl::effect_util::PinOrOpen::makeStep | ( | const NumEffectState & | state, |
Square | target, | ||
Player | defense | ||
) | [inline, static] |
Definition at line 52 of file effect_util/pin.h.
References osl::BLACK, and target.