Goldによる利きの生成用 Functor. More...
Public Member Functions | |
GoldAction (NumEffectState const &s, Square p, Action &a) | |
void | operator() (Piece p) |
forEachOnBoardから呼ばれる | |
Private Attributes | |
NumEffectState const & | state |
Square | target |
Action & | action |
Goldによる利きの生成用 Functor.
Definition at line 376 of file addEffect8.tcc.
osl::move_generator::addeffect8::GoldAction< P, Action >::GoldAction | ( | NumEffectState const & | s, |
Square | p, | ||
Action & | a | ||
) | [inline] |
Definition at line 382 of file addEffect8.tcc.
void osl::move_generator::addeffect8::GoldAction< P, Action >::operator() | ( | Piece | p | ) | [inline] |
forEachOnBoardから呼ばれる
Definition at line 388 of file addEffect8.tcc.
References osl::move_generator::addeffect8::GoldAction< P, Action >::action, osl::move_generator::addeffect8::GoldAction< P, Action >::state, and osl::move_generator::addeffect8::GoldAction< P, Action >::target.
Action& osl::move_generator::addeffect8::GoldAction< P, Action >::action [private] |
Definition at line 380 of file addEffect8.tcc.
Referenced by osl::move_generator::addeffect8::GoldAction< P, Action >::operator()().
NumEffectState const& osl::move_generator::addeffect8::GoldAction< P, Action >::state [private] |
Definition at line 378 of file addEffect8.tcc.
Referenced by osl::move_generator::addeffect8::GoldAction< P, Action >::operator()().
Square osl::move_generator::addeffect8::GoldAction< P, Action >::target [private] |
Definition at line 379 of file addEffect8.tcc.
Referenced by osl::move_generator::addeffect8::GoldAction< P, Action >::operator()().