All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
osl::move_generator::AdditionalLance< P > Struct Template Reference

#include <additionalLance.h>

List of all members.

Static Public Member Functions

static void generate (const NumEffectState &, Square pawn, MoveVector &out)
 pawn に香車を打って追加利きをつける指手を生成.
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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines