1 #ifndef OSL_MOVE_GENERATOR_ADD_EFFECT_H
2 #define OSL_MOVE_GENERATOR_ADD_EFFECT_H
7 #include <boost/static_assert.hpp>
11 namespace move_generator
16 template<Player P,Ptype T,
bool isAttackToKing=false>
30 template<
class Action>
31 static void generate(
const NumEffectState& state,
Square target,Action& action,NearMask nearMask);
37 template<Player P,Ptype T,
bool isAttackToKing=false>
44 template<
class Action>
45 static void generate(
const NumEffectState& state,
Square target,Action& action,NearMask nearMask);
66 template<Player P,
bool isAttackToKing=false>
74 template<
class Action>
76 template<
class Action>
77 static void generateGold(
const NumEffectState& state,
Square target,Action& action,NearMask nearMask);
85 template<
class Action>
86 static void generate(
const NumEffectState& state,
Square target,Action& action);
94 template<
bool isAttackToKing=false>
108 generate(player, state, target, store);