AddEffect の部品 足の短い駒のケース. More...
#include <addEffect_.h>
Public Member Functions | |
BOOST_STATIC_ASSERT ((PtypeTraits< T >::isBasic)) | |
BOOST_STATIC_ASSERT ((PtypeTraits< T >::canPromote)) | |
template<class Action > | |
void | generate (const NumEffectState &state, Square target, Action &action, NearMask nearMask) |
Static Public Member Functions | |
template<class Action > | |
static void | generate (const NumEffectState &state, Square target, Action &action, NearMask nearMask) |
足の短い駒による利きの生成 More... | |
AddEffect の部品 足の短い駒のケース.
Definition at line 17 of file addEffect_.h.
osl::move_generator::AddEffectShort< P, T, isAttackToKing >::BOOST_STATIC_ASSERT | ( | (PtypeTraits< T >::isBasic) | ) |
osl::move_generator::AddEffectShort< P, T, isAttackToKing >::BOOST_STATIC_ASSERT | ( | (PtypeTraits< T >::canPromote) | ) |
|
static |
足の短い駒による利きの生成
P(template) | - 攻撃側のプレイヤー |
T(template) | - Ptype T およびpromoteした駒による利きの生成 |
state | - 盤面 |
target | - 利きをつけられるマス |
action | - 手がある時のcallback関数 |
nearMask | - targetの10近傍のマスク |
void osl::move_generator::AddEffectShort< P, T, isAttackToKing >::generate | ( | const NumEffectState & | state, |
Square | target, | ||
Action & | action, | ||
NearMask | nearMask | ||
) |
drop move
Definition at line 422 of file addEffect_.tcc.
References BOOST_STATIC_ASSERT(), and target.