相手の間接利きを止めている駒を動かさない More...
#include <notKingOpenFilter.h>
Public Member Functions | |
BOOST_CLASS_REQUIRE (OrigAction, osl::move_action, Concept) | |
NotKingOpenFilter (const NumEffectState &s, OrigAction &action) | |
bool | isNotKingOpenMove (Ptype ptype, Square from, Square to) |
void | simpleMove (Square from, Square to, Ptype ptype, bool isPromote, Player p, Move m) |
void | unknownMove (Square from, Square to, Piece p1, Ptype ptype, bool isPromote, Player p, Move m) |
void | dropMove (Square to, Ptype ptype, Player p, Move m) |
dropMoveが自殺手になることはない More... | |
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) |
Public Attributes | |
const NumEffectState & | state |
OrigAction & | action |
相手の間接利きを止めている駒を動かさない
Definition at line 20 of file notKingOpenFilter.h.
|
inline |
Definition at line 26 of file notKingOpenFilter.h.
osl::move_action::NotKingOpenFilter< P, OrigAction >::BOOST_CLASS_REQUIRE | ( | OrigAction | , |
osl::move_action | , | ||
Concept | |||
) |
|
inline |
dropMoveが自殺手になることはない
Definition at line 57 of file notKingOpenFilter.h.
References osl::move_action::NotKingOpenFilter< P, OrigAction >::action.
Referenced by osl::move_action::NotKingOpenFilter< P, OrigAction >::dropMove().
|
inline |
Definition at line 79 of file notKingOpenFilter.h.
References osl::move_action::NotKingOpenFilter< P, OrigAction >::dropMove().
|
inline |
Definition at line 29 of file notKingOpenFilter.h.
References osl::move_classifier::KingOpenMove< P >::isMember(), and osl::move_action::NotKingOpenFilter< P, OrigAction >::state.
Referenced by osl::move_action::NotKingOpenFilter< P, OrigAction >::simpleMove(), and osl::move_action::NotKingOpenFilter< P, OrigAction >::unknownMove().
|
inline |
Definition at line 33 of file notKingOpenFilter.h.
References osl::move_action::NotKingOpenFilter< P, OrigAction >::action, and osl::move_action::NotKingOpenFilter< P, OrigAction >::isNotKingOpenMove().
Referenced by osl::move_action::NotKingOpenFilter< P, OrigAction >::simpleMove().
|
inline |
Definition at line 67 of file notKingOpenFilter.h.
References osl::PTYPE_EMPTY, and osl::move_action::NotKingOpenFilter< P, OrigAction >::simpleMove().
|
inline |
Definition at line 44 of file notKingOpenFilter.h.
References osl::move_action::NotKingOpenFilter< P, OrigAction >::action, and osl::move_action::NotKingOpenFilter< P, OrigAction >::isNotKingOpenMove().
Referenced by osl::move_action::NotKingOpenFilter< P, OrigAction >::unknownMove().
|
inline |
Definition at line 73 of file notKingOpenFilter.h.
References osl::Piece::ptype(), and osl::move_action::NotKingOpenFilter< P, OrigAction >::unknownMove().
OrigAction& osl::move_action::NotKingOpenFilter< P, OrigAction >::action |
const NumEffectState& osl::move_action::NotKingOpenFilter< P, OrigAction >::state |
Definition at line 23 of file notKingOpenFilter.h.
Referenced by osl::move_action::NotKingOpenFilter< P, OrigAction >::isNotKingOpenMove().