自玉の 24近傍への手 More...
#include <toAroundKing24Filter.h>
Public Member Functions | |
BOOST_CLASS_REQUIRE (OrigAction, osl::move_action, Concept) | |
ToAroundKing24Filter (const NumEffectState &s, OrigAction &action) | |
bool | isToAroundKing24Move (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) |
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 |
Square | position_king |
自玉の 24近傍への手
Definition at line 20 of file toAroundKing24Filter.h.
osl::move_action::ToAroundKing24Filter< P, OrigAction >::ToAroundKing24Filter | ( | const NumEffectState & | s, |
OrigAction & | action | ||
) | [inline] |
Definition at line 28 of file toAroundKing24Filter.h.
osl::move_action::ToAroundKing24Filter< P, OrigAction >::BOOST_CLASS_REQUIRE | ( | OrigAction | , |
osl::move_action | , | ||
Concept | |||
) |
void osl::move_action::ToAroundKing24Filter< P, OrigAction >::dropMove | ( | Square | to, |
Ptype | ptype, | ||
Player | p, | ||
Move | m | ||
) | [inline] |
Definition at line 90 of file toAroundKing24Filter.h.
References osl::move_action::ToAroundKing24Filter< P, OrigAction >::action, and osl::move_action::ToAroundKing24Filter< P, OrigAction >::isToAroundKing24Move().
Referenced by osl::move_action::ToAroundKing24Filter< P, OrigAction >::dropMove().
void osl::move_action::ToAroundKing24Filter< P, OrigAction >::dropMove | ( | Square | to, |
Ptype | ptype, | ||
Player | p | ||
) | [inline] |
Definition at line 108 of file toAroundKing24Filter.h.
References osl::move_action::ToAroundKing24Filter< P, OrigAction >::dropMove().
bool osl::move_action::ToAroundKing24Filter< P, OrigAction >::isToAroundKing24Move | ( | Square | to | ) | [inline] |
Definition at line 34 of file toAroundKing24Filter.h.
References osl::Board_Table, osl::D, osl::DL, osl::DR, osl::BoardTable::getOffsetForBlack(), osl::L, osl::move_action::ToAroundKing24Filter< P, OrigAction >::position_king, osl::R, osl::U, osl::UL, and osl::UR.
Referenced by osl::move_action::ToAroundKing24Filter< P, OrigAction >::dropMove(), osl::move_action::ToAroundKing24Filter< P, OrigAction >::simpleMove(), and osl::move_action::ToAroundKing24Filter< P, OrigAction >::unknownMove().
void osl::move_action::ToAroundKing24Filter< P, OrigAction >::simpleMove | ( | Square | from, |
Square | to, | ||
Ptype | ptype, | ||
bool | isPromote, | ||
Player | p, | ||
Move | m | ||
) | [inline] |
Definition at line 79 of file toAroundKing24Filter.h.
References osl::move_action::ToAroundKing24Filter< P, OrigAction >::action, and osl::move_action::ToAroundKing24Filter< P, OrigAction >::isToAroundKing24Move().
Referenced by osl::move_action::ToAroundKing24Filter< P, OrigAction >::simpleMove().
void osl::move_action::ToAroundKing24Filter< P, OrigAction >::simpleMove | ( | Square | from, |
Square | to, | ||
Ptype | ptype, | ||
bool | isPromote, | ||
Player | p | ||
) | [inline] |
Definition at line 96 of file toAroundKing24Filter.h.
References osl::PTYPE_EMPTY, and osl::move_action::ToAroundKing24Filter< P, OrigAction >::simpleMove().
void osl::move_action::ToAroundKing24Filter< P, OrigAction >::unknownMove | ( | Square | from, |
Square | to, | ||
Piece | p1, | ||
Ptype | ptype, | ||
bool | isPromote, | ||
Player | p, | ||
Move | m | ||
) | [inline] |
Definition at line 85 of file toAroundKing24Filter.h.
References osl::move_action::ToAroundKing24Filter< P, OrigAction >::action, and osl::move_action::ToAroundKing24Filter< P, OrigAction >::isToAroundKing24Move().
Referenced by osl::move_action::ToAroundKing24Filter< P, OrigAction >::unknownMove().
void osl::move_action::ToAroundKing24Filter< P, OrigAction >::unknownMove | ( | Square | from, |
Square | to, | ||
Piece | captured, | ||
Ptype | ptype, | ||
bool | isPromote, | ||
Player | p | ||
) | [inline] |
Definition at line 102 of file toAroundKing24Filter.h.
References osl::Piece::ptype(), and osl::move_action::ToAroundKing24Filter< P, OrigAction >::unknownMove().
OrigAction& osl::move_action::ToAroundKing24Filter< P, OrigAction >::action |
Square osl::move_action::ToAroundKing24Filter< P, OrigAction >::position_king |
Definition at line 25 of file toAroundKing24Filter.h.
Referenced by osl::move_action::ToAroundKing24Filter< P, OrigAction >::isToAroundKing24Move().
const NumEffectState& osl::move_action::ToAroundKing24Filter< P, OrigAction >::state |
Definition at line 23 of file toAroundKing24Filter.h.