from に利きのある手を取る More...
#include <captureFrom.h>
Public Member Functions | |
BOOST_CLASS_REQUIRE (OrigAction, osl::move_action, Concept) | |
CaptureFrom (const NumEffectState &s, OrigAction &action) | |
template<Player PP> | |
void | doAction (Piece const &p, Square const &) |
void | simpleMove (Square from, Square to, Ptype ptype, bool isPromote, Player p, Move move) |
void | unknownMove (Square from, Square to, Piece p1, Ptype ptype, bool isPromote, Player p, Move move) |
void | dropMove (Square to, Ptype ptype, Player p, Move move) |
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 |
from に利きのある手を取る
Definition at line 20 of file captureFrom.h.
|
inline |
Definition at line 27 of file captureFrom.h.
osl::move_action::CaptureFrom< P, OrigAction >::BOOST_CLASS_REQUIRE | ( | OrigAction | , |
osl::move_action | , | ||
Concept | |||
) |
|
inline |
Definition at line 34 of file captureFrom.h.
References osl::move_action::CaptureFrom< P, OrigAction >::action, osl::Piece::square(), and osl::move_action::CaptureFrom< P, OrigAction >::state.
|
inline |
dropMove では取れない
Definition at line 59 of file captureFrom.h.
Referenced by osl::move_action::CaptureFrom< P, OrigAction >::dropMove().
|
inline |
Definition at line 74 of file captureFrom.h.
References osl::move_action::CaptureFrom< P, OrigAction >::dropMove().
|
inline |
Definition at line 41 of file captureFrom.h.
References osl::move_action::CaptureFrom< P, OrigAction >::action, and osl::move_action::CaptureFrom< P, OrigAction >::state.
Referenced by osl::move_action::CaptureFrom< P, OrigAction >::simpleMove().
|
inline |
Definition at line 64 of file captureFrom.h.
References osl::move_action::CaptureFrom< P, OrigAction >::simpleMove().
|
inline |
Definition at line 49 of file captureFrom.h.
References osl::move_action::CaptureFrom< P, OrigAction >::action, and osl::move_action::CaptureFrom< P, OrigAction >::state.
Referenced by osl::move_action::CaptureFrom< P, OrigAction >::unknownMove().
|
inline |
Definition at line 69 of file captureFrom.h.
References osl::move_action::CaptureFrom< P, OrigAction >::unknownMove().
OrigAction& osl::move_action::CaptureFrom< P, OrigAction >::action |
Definition at line 24 of file captureFrom.h.
Referenced by osl::move_action::CaptureFrom< P, OrigAction >::doAction(), osl::move_action::CaptureFrom< P, OrigAction >::simpleMove(), and osl::move_action::CaptureFrom< P, OrigAction >::unknownMove().
const NumEffectState& osl::move_action::CaptureFrom< P, OrigAction >::state |
Definition at line 23 of file captureFrom.h.
Referenced by osl::move_action::CaptureFrom< P, OrigAction >::doAction(), osl::move_action::CaptureFrom< P, OrigAction >::simpleMove(), and osl::move_action::CaptureFrom< P, OrigAction >::unknownMove().