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

#include <additionalLance.h>

Static Public Member Functions

static void generate (const NumEffectState &, Square pawn, MoveVector &out)
 pawn に香車を打って追加利きをつける指手を生成. More...
 
static void generateIfHasLance (const NumEffectState &, Square pawn, MoveVector &out)
 

Detailed Description

template<Player P>
struct osl::move_generator::AdditionalLance< P >

Definition at line 17 of file additionalLance.h.

Member Function Documentation

template<osl::Player P>
void osl::move_generator::AdditionalLance< P >::generate ( const NumEffectState &  state,
Square  pawn,
MoveVector &  out 
)
static

pawn に香車を打って追加利きをつける指手を生成.

敵の利きがあるところで生成をやめる.

Definition at line 9 of file additionalLance.cc.

References osl::Piece::isEmpty(), osl::LANCE, osl::PAWN, and target.

template<osl::Player P>
void osl::move_generator::AdditionalLance< P >::generateIfHasLance ( const NumEffectState &  state,
Square  pawn,
MoveVector &  out 
)
static

Definition at line 28 of file additionalLance.cc.

References osl::move_generator::capture::generate(), and osl::LANCE.


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