promote可能な足の長い駒による利きの生成用 Functor More...
Public Member Functions | |
LongPieceAction (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 398 of file addEffect8.tcc.
osl::move_generator::addeffect8::LongPieceAction< P, T, Action >::LongPieceAction | ( | NumEffectState const & | s, |
Square | p, | ||
Action & | a | ||
) | [inline] |
Definition at line 404 of file addEffect8.tcc.
void osl::move_generator::addeffect8::LongPieceAction< P, T, Action >::operator() | ( | Piece | p | ) | [inline] |
forEachOnBoardから呼ばれる
Definition at line 410 of file addEffect8.tcc.
References osl::move_generator::addeffect8::LongPieceAction< P, T, Action >::action, osl::Piece::isPromotedNotKingGold(), osl::LANCE, osl::move_generator::addeffect8::LongPieceAction< P, T, Action >::state, and osl::move_generator::addeffect8::LongPieceAction< P, T, Action >::target.
Action& osl::move_generator::addeffect8::LongPieceAction< P, T, Action >::action [private] |
Definition at line 402 of file addEffect8.tcc.
Referenced by osl::move_generator::addeffect8::LongPieceAction< P, T, Action >::operator()().
NumEffectState const& osl::move_generator::addeffect8::LongPieceAction< P, T, Action >::state [private] |
Definition at line 400 of file addEffect8.tcc.
Referenced by osl::move_generator::addeffect8::LongPieceAction< P, T, Action >::operator()().
Square osl::move_generator::addeffect8::LongPieceAction< P, T, Action >::target [private] |
Definition at line 401 of file addEffect8.tcc.
Referenced by osl::move_generator::addeffect8::LongPieceAction< P, T, Action >::operator()().