My Project
osl::move_action::NoEffectFilter< P, OrigAction > Class Template Reference

利きのないところへ動くためのフィルタ More...

#include <move_action.h>

Public Member Functions

 NoEffectFilter (const NumEffectState &s, OrigAction &action, Square pos)
 
void simpleMove (Square from, Square to, Ptype ptype, bool isPromote, Player, Move m)
 
void unknownMove (Square from, Square to, Piece p1, Ptype ptype, bool isPromote, Player, Move m)
 
void dropMove (Square to, Ptype ptype, Player, Move m)
 
void simpleMove (Square from, Square to, Ptype ptype, bool isPromote, Player p)
 
void unknownMove (Square from, Square to, Piece captured, Ptype ptype, bool isPromote, Player p)
 
void dropMove (Square to, Ptype ptype, Player p)
 

Private Attributes

const NumEffectStatestate
 
OrigAction & action
 
Square removed
 

Detailed Description

template<Player P, class OrigAction>
class osl::move_action::NoEffectFilter< P, OrigAction >

利きのないところへ動くためのフィルタ

Definition at line 72 of file move_action.h.

Constructor & Destructor Documentation

◆ NoEffectFilter()

template<Player P, class OrigAction >
osl::move_action::NoEffectFilter< P, OrigAction >::NoEffectFilter ( const NumEffectState & s,
OrigAction & action,
Square pos )
inline

Definition at line 78 of file move_action.h.

Member Function Documentation

◆ dropMove() [1/2]

template<Player P, class OrigAction >
void osl::move_action::NoEffectFilter< P, OrigAction >::dropMove ( Square to,
Ptype ptype,
Player p )
inline

◆ dropMove() [2/2]

◆ simpleMove() [1/2]

template<Player P, class OrigAction >
void osl::move_action::NoEffectFilter< P, OrigAction >::simpleMove ( Square from,
Square to,
Ptype ptype,
bool isPromote,
Player p )
inline

◆ simpleMove() [2/2]

◆ unknownMove() [1/2]

template<Player P, class OrigAction >
void osl::move_action::NoEffectFilter< P, OrigAction >::unknownMove ( Square from,
Square to,
Piece captured,
Ptype ptype,
bool isPromote,
Player p )
inline

◆ unknownMove() [2/2]

Member Data Documentation

◆ action

◆ removed

◆ state


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