Static Public Member Functions | List of all members
osl::move_classifier::PawnDropCheckmate< P > Struct Template Reference

打歩詰の判定. More...

#include <pawnDropCheckmate.h>

Static Public Member Functions

static bool canEscape (const NumEffectState &state, Square kingSquare, Direction dir, Square dropAt)
 kingSquare に居る alt(P)の玉が dir 方向に逃げられるか. More...
 
static bool escape7 (const NumEffectState &state, Square kingSquare, Square to)
 王が前以外に移動可能か More...
 
static bool isMember (const NumEffectState &state, Ptype ptype, Square from, Square to)
 

Detailed Description

template<Player P>
struct osl::move_classifier::PawnDropCheckmate< P >

打歩詰の判定.

Parameters
P指手(攻撃)側

Definition at line 18 of file pawnDropCheckmate.h.

Member Function Documentation

§ canEscape()

template<osl::Player P>
bool osl::move_classifier::PawnDropCheckmate< P >::canEscape ( const NumEffectState state,
Square  kingSquare,
Direction  dir,
Square  dropAt 
)
static

§ escape7()

template<osl::Player P>
bool osl::move_classifier::PawnDropCheckmate< P >::escape7 ( const NumEffectState state,
Square  kingSquare,
Square  to 
)
static

§ isMember()

template<Player P>
static bool osl::move_classifier::PawnDropCheckmate< P >::isMember ( const NumEffectState state,
Ptype  ptype,
Square  from,
Square  to 
)
inlinestatic

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