from に利きのある手を取る [詳細]
#include <captureFrom.h>
Public メソッド | |
BOOST_CLASS_REQUIRE (OrigAction, osl::move_action, Concept) | |
CaptureFrom (const NumEffectState &s, OrigAction &action) | |
template<Player PP> | |
void | doAction (Piece const &p, Position const &) |
void | simpleMove (Position from, Position to, Ptype ptype, bool isPromote, Player p, Move move) |
void | unknownMove (Position from, Position to, Piece p1, Ptype ptype, bool isPromote, Player p, Move move) |
void | dropMove (Position to, Ptype ptype, Player p, Move move) |
dropMove では取れない | |
void | simpleMove (Position from, Position to, Ptype ptype, bool isPromote, Player p) |
void | unknownMove (Position from, Position to, Piece captured, Ptype ptype, bool isPromote, Player p) |
void | dropMove (Position to, Ptype ptype, Player p) |
Public 変数 | |
const NumEffectState & | state |
OrigAction & | action |
from に利きのある手を取る
captureFrom.h の 20 行で定義されています。
osl::move_action::CaptureFrom< P, OrigAction >::CaptureFrom | ( | const NumEffectState & | s, | |
OrigAction & | action | |||
) | [inline] |
captureFrom.h の 27 行で定義されています。
osl::move_action::CaptureFrom< P, OrigAction >::BOOST_CLASS_REQUIRE | ( | OrigAction | , | |
osl::move_action | , | |||
Concept | ||||
) |
void osl::move_action::CaptureFrom< P, OrigAction >::doAction | ( | Piece const & | p, | |
Position const & | ||||
) | [inline] |
void osl::move_action::CaptureFrom< P, OrigAction >::dropMove | ( | Position | to, | |
Ptype | ptype, | |||
Player | p | |||
) | [inline] |
captureFrom.h の 74 行で定義されています。
参照先 osl::move_action::CaptureFrom< P, OrigAction >::dropMove().
void osl::move_action::CaptureFrom< P, OrigAction >::dropMove | ( | Position | to, | |
Ptype | ptype, | |||
Player | p, | |||
Move | move | |||
) | [inline] |
dropMove では取れない
captureFrom.h の 59 行で定義されています。
参照元 osl::move_action::CaptureFrom< P, OrigAction >::dropMove().
void osl::move_action::CaptureFrom< P, OrigAction >::simpleMove | ( | Position | from, | |
Position | to, | |||
Ptype | ptype, | |||
bool | isPromote, | |||
Player | p | |||
) | [inline] |
captureFrom.h の 64 行で定義されています。
参照先 osl::move_action::CaptureFrom< P, OrigAction >::simpleMove().
void osl::move_action::CaptureFrom< P, OrigAction >::unknownMove | ( | Position | from, | |
Position | to, | |||
Piece | captured, | |||
Ptype | ptype, | |||
bool | isPromote, | |||
Player | p | |||
) | [inline] |
captureFrom.h の 69 行で定義されています。
参照先 osl::move_action::CaptureFrom< P, OrigAction >::unknownMove().
OrigAction& osl::move_action::CaptureFrom< P, OrigAction >::action |
const NumEffectState& osl::move_action::CaptureFrom< P, OrigAction >::state |