Static Public Member Functions | List of all members
osl::move_generator::GenerateCapture Struct Reference

Capture の Player で特殊化できないバージョン. More...

#include <capture_.h>

Static Public Member Functions

template<class Action >
static void generate (Player p, const NumEffectState &state, Square target, Action &action)
 
static void generate (Player P, const NumEffectState &state, Square target, MoveVector &out)
 
static void generate (const NumEffectState &state, Square target, MoveVector &out)
 
template<class Action >
static void generate1 (Player p, const NumEffectState &state, Square target, Action &action)
 
static void generate1 (Player P, const NumEffectState &state, Square target, MoveVector &out)
 
template<class Action >
static void escapeByCapture (Player p, const NumEffectState &state, Square target, Piece piece, Action &action)
 

Detailed Description

Capture の Player で特殊化できないバージョン.

Definition at line 46 of file capture_.h.

Member Function Documentation

§ escapeByCapture()

template<class Action >
static void osl::move_generator::GenerateCapture::escapeByCapture ( Player  p,
const NumEffectState state,
Square  target,
Piece  piece,
Action &  action 
)
inlinestatic

Definition at line 87 of file capture_.h.

References osl::BLACK.

§ generate() [1/3]

template<class Action >
static void osl::move_generator::GenerateCapture::generate ( Player  p,
const NumEffectState state,
Square  target,
Action &  action 
)
inlinestatic

Definition at line 49 of file capture_.h.

References osl::BLACK.

Referenced by osl::checkmate::CheckmateIfCapture::cannotCapture().

§ generate() [2/3]

static void osl::move_generator::GenerateCapture::generate ( Player  P,
const NumEffectState state,
Square  target,
MoveVector out 
)
inlinestatic

Definition at line 57 of file capture_.h.

References osl::move_generator::Capture< Action >::generate().

§ generate() [3/3]

static void osl::move_generator::GenerateCapture::generate ( const NumEffectState state,
Square  target,
MoveVector out 
)
inlinestatic

§ generate1() [1/2]

template<class Action >
static void osl::move_generator::GenerateCapture::generate1 ( Player  p,
const NumEffectState state,
Square  target,
Action &  action 
)
inlinestatic

Definition at line 70 of file capture_.h.

References osl::BLACK.

§ generate1() [2/2]

static void osl::move_generator::GenerateCapture::generate1 ( Player  P,
const NumEffectState state,
Square  target,
MoveVector out 
)
inlinestatic

Definition at line 78 of file capture_.h.

References osl::move_generator::Capture< Action >::generate1().


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