1#ifndef OSL_MOVE_GENERATER_ADD_EFFECT_WITH_EFFECT_H
2#define OSL_MOVE_GENERATER_ADD_EFFECT_WITH_EFFECT_H
8 namespace move_generator
25 template<
class Action>
29 template<Player P,
bool isAttackToKing>
31 template<Player P,
bool isAttackToKing>
34 generate<P,isAttackToKing>(state,target,action,dummy);
43 template<
bool isAttackToKing>
46 template<
bool isAttackToKing>
54 template<
bool isAttackToKing>
57 generate<isAttackToKing>(player,state,target,out,dummy);
利きをつける手を生成 利きを持つstateでしか使えない.
static void generate(const NumEffectState &state, Square target, Action &action)
static void generate(const NumEffectState &state, Square target, Action &action, bool &hasPawnCheckmate)
static void generate(Player player, const NumEffectState &state, Square target, move_action::Store &store)
対象とするマスに利きを付ける手を生成する.
static void generate(Player player, const NumEffectState &state, Square target, MoveVector &out, bool &has_pawn_checkmate)
static void generate(Player player, const NumEffectState &state, Square target, MoveVector &out)