promote可能な足の短い駒による利きの生成用 Functor More...
Public Member Functions | |
ShortPieceAction (NumEffectState const &s, Square p, Action &a) | |
void | operator() (Piece p) |
forEachOnBoardから呼ばれる | |
Private Attributes | |
NumEffectState const & | state |
Square | target |
Action & | action |
promote可能な足の短い駒による利きの生成用 Functor
Definition at line 347 of file addEffect8.tcc.
osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::ShortPieceAction | ( | NumEffectState const & | s, |
Square | p, | ||
Action & | a | ||
) | [inline] |
Definition at line 353 of file addEffect8.tcc.
void osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::operator() | ( | Piece | p | ) | [inline] |
forEachOnBoardから呼ばれる
Definition at line 359 of file addEffect8.tcc.
References osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::action, osl::Piece::isPromotedNotKingGold(), osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::state, and osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::target.
Action& osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::action [private] |
Definition at line 351 of file addEffect8.tcc.
Referenced by osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::operator()().
NumEffectState const& osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::state [private] |
Definition at line 349 of file addEffect8.tcc.
Referenced by osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::operator()().
Square osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::target [private] |
Definition at line 350 of file addEffect8.tcc.
Referenced by osl::move_generator::addeffect8::ShortPieceAction< P, T, Action >::operator()().