Static Public Member Functions | |
template<class Action > | |
static void | generate (NumEffectState const &state, Piece p, Action &action) |
Static Private Member Functions | |
template<class Action > | |
static void | generateIfValid (const NumEffectState &state, Piece piece, Action &action, Int2Type< true >, Int2Type< true >) |
template<class Action > | |
static void | generateIfValid (const NumEffectState &state, Piece p, Action &action, Int2Type< false >, Int2Type< true >) |
template<class Action > | |
static void | generateIfValid (const NumEffectState &, Piece, Action &, Int2Type< true >, Int2Type< false >) |
template<class Action > | |
static void | generateIfValid (const NumEffectState &, Piece, Action &, Int2Type< false >, Int2Type< false >) |
Definition at line 15 of file promote_.tcc.
static void osl::move_generator::promote::AllPromoteDir< P, T, noCapture, Dir >::generate | ( | NumEffectState const & | state, |
Piece | p, | ||
Action & | action | ||
) | [inline, static] |
Definition at line 59 of file promote_.tcc.
References osl::move_generator::promote::AllPromoteDir< P, T, noCapture, Dir >::generateIfValid().
static void osl::move_generator::promote::AllPromoteDir< P, T, noCapture, Dir >::generateIfValid | ( | const NumEffectState & | state, |
Piece | piece, | ||
Action & | action, | ||
Int2Type< true > | , | ||
Int2Type< true > | |||
) | [inline, static, private] |
Definition at line 18 of file promote_.tcc.
References osl::Piece::canMoveOn(), osl::Square::isPieceStand(), osl::longToShort(), osl::Piece::number(), osl::Piece::square(), and osl::Offset::zero().
Referenced by osl::move_generator::promote::AllPromoteDir< P, T, noCapture, Dir >::generate().
static void osl::move_generator::promote::AllPromoteDir< P, T, noCapture, Dir >::generateIfValid | ( | const NumEffectState & | state, |
Piece | p, | ||
Action & | action, | ||
Int2Type< false > | , | ||
Int2Type< true > | |||
) | [inline, static, private] |
Definition at line 38 of file promote_.tcc.
References osl::Piece::canMoveOn(), osl::Piece::isEmpty(), and osl::Piece::square().
static void osl::move_generator::promote::AllPromoteDir< P, T, noCapture, Dir >::generateIfValid | ( | const NumEffectState & | , |
Piece | , | ||
Action & | , | ||
Int2Type< true > | , | ||
Int2Type< false > | |||
) | [inline, static, private] |
Definition at line 52 of file promote_.tcc.
static void osl::move_generator::promote::AllPromoteDir< P, T, noCapture, Dir >::generateIfValid | ( | const NumEffectState & | , |
Piece | , | ||
Action & | , | ||
Int2Type< false > | , | ||
Int2Type< false > | |||
) | [inline, static, private] |
Definition at line 55 of file promote_.tcc.