駒を取らないことが前提 More...
#include <simpleMove.h>
Public Member Functions | |
SimpleMove (Action &a) | |
template<Player P, Ptype Type> | |
void | doActionPtype (Piece p1, Square to) |
template<Player P> | |
void | doAction (Piece p1, Square to) |
bool | done () const |
Private Member Functions | |
BOOST_CLASS_REQUIRE (Action, osl::move_action, Concept) | |
Private Attributes | |
Action & | ac |
駒を取らないことが前提
Definition at line 15 of file simpleMove.h.
osl::effect_action::SimpleMove< Action >::SimpleMove | ( | Action & | a | ) | [inline] |
Definition at line 21 of file simpleMove.h.
osl::effect_action::SimpleMove< Action >::BOOST_CLASS_REQUIRE | ( | Action | , |
osl::move_action | , | ||
Concept | |||
) | [private] |
void osl::effect_action::SimpleMove< Action >::doAction | ( | Piece | p1, |
Square | to | ||
) | [inline] |
Definition at line 37 of file simpleMove.h.
References osl::effect_action::SimpleMove< Action >::ac, osl::PtypeTable::canDropTo(), osl::canPromote(), osl::Square::canPromote(), osl::promote(), osl::Piece::ptype(), osl::Ptype_Table, and osl::Piece::square().
void osl::effect_action::SimpleMove< Action >::doActionPtype | ( | Piece | p1, |
Square | to | ||
) | [inline] |
Definition at line 23 of file simpleMove.h.
References osl::effect_action::SimpleMove< Action >::ac, osl::canPromote(), osl::Square::canPromote(), osl::Piece::isPromotedNotKingGold(), osl::promote(), osl::Piece::ptype(), and osl::Piece::square().
bool osl::effect_action::SimpleMove< Action >::done | ( | ) | const [inline] |
Definition at line 59 of file simpleMove.h.
Action& osl::effect_action::SimpleMove< Action >::ac [private] |
Definition at line 19 of file simpleMove.h.
Referenced by osl::effect_action::SimpleMove< Action >::doAction(), and osl::effect_action::SimpleMove< Action >::doActionPtype().