My Project
Public Member Functions | Private Attributes | List of all members
osl::effect_action::BetterToPromote< Action > Class Template Reference

成った方が良い駒は成る手のみ生成 More...

#include <effect_action.h>

Public Member Functions

 BetterToPromote (const NumEffectState &s, Action &a)
 
template<Player P, Ptype Type>
void doActionPtype (Piece p1, Square to)
 
template<Player P>
void doAction (Piece p1, Square to)
 Ptypeをtemplate引数にできない場合
 

Private Attributes

const NumEffectStatestate
 
Action & ac
 

Detailed Description

template<class Action>
class osl::effect_action::BetterToPromote< Action >

成った方が良い駒は成る手のみ生成

Definition at line 78 of file effect_action.h.

Constructor & Destructor Documentation

◆ BetterToPromote()

template<class Action >
osl::effect_action::BetterToPromote< Action >::BetterToPromote ( const NumEffectState s,
Action &  a 
)
inline

Definition at line 84 of file effect_action.h.

Member Function Documentation

◆ doAction()

template<class Action >
template<Player P>
void osl::effect_action::BetterToPromote< Action >::doAction ( Piece  p1,
Square  to 
)
inline

◆ doActionPtype()

template<class Action >
template<Player P, Ptype Type>
void osl::effect_action::BetterToPromote< Action >::doActionPtype ( Piece  p1,
Square  to 
)
inline

Member Data Documentation

◆ ac

template<class Action >
Action& osl::effect_action::BetterToPromote< Action >::ac
private

◆ state

template<class Action >
const NumEffectState& osl::effect_action::BetterToPromote< Action >::state
private

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