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