All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | List of all members
osl::move_generator::GenerateAddEffectWithEffect Struct Reference

#include <addEffectWithEffect.h>

Public Member Functions

template<bool isAttackToKing>
void generate (Player player, const NumEffectState &state, Square target, move_action::Store &store)
 

Static Public Member Functions

template<bool isAttackToKing>
static void generate (Player player, const NumEffectState &state, Square target, move_action::Store &store)
 対象とするマスに利きを付ける手を生成する. More...
 
template<bool isAttackToKing>
static void generate (Player player, const NumEffectState &state, Square target, MoveVector &out, bool &has_pawn_checkmate)
 
template<bool isAttackToKing>
static void generate (Player player, const NumEffectState &state, Square target, MoveVector &out)
 

Detailed Description

Definition at line 40 of file addEffectWithEffect.h.

Member Function Documentation

template<bool isAttackToKing>
template void osl::move_generator::GenerateAddEffectWithEffect::generate< false > ( Player  player,
const NumEffectState &  state,
Square  target,
move_action::Store store 
)
static

対象とするマスに利きを付ける手を生成する.

Note: Action がPlayerで型付けされていると,無駄があるのでStore限定に

template<bool isAttackToKing>
static void osl::move_generator::GenerateAddEffectWithEffect::generate ( Player  player,
const NumEffectState &  state,
Square  target,
MoveVector &  out,
bool &  has_pawn_checkmate 
)
inlinestatic

Definition at line 50 of file addEffectWithEffect.h.

References osl::BLACK, store(), and target.

template<bool isAttackToKing>
static void osl::move_generator::GenerateAddEffectWithEffect::generate ( Player  player,
const NumEffectState &  state,
Square  target,
MoveVector &  out 
)
inlinestatic

Definition at line 58 of file addEffectWithEffect.h.

References out, and target.

template<bool isAttackToKing>
void osl::move_generator::GenerateAddEffectWithEffect::generate ( Player  player,
const NumEffectState &  state,
Square  target,
move_action::Store store 
)

Definition at line 1005 of file addEffectWithEffect.tcc.

References osl::BLACK, store(), target, and osl::WHITE.


The documentation for this struct was generated from the following files: