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