駒を取らないことが前提 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.
|
inline |
Definition at line 21 of file simpleMove.h.
|
private |
|
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().
|
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().
|
inline |
Definition at line 59 of file simpleMove.h.
|
private |
Definition at line 19 of file simpleMove.h.
Referenced by osl::effect_action::SimpleMove< Action >::doAction(), and osl::effect_action::SimpleMove< Action >::doActionPtype().