全ての指手を生成 More...
#include <alwaysMove.h>
Public Member Functions | |
AlwaysMove (const NumEffectState &s, Action &a) | |
template<Player P, Ptype Type> | |
void | doActionPtype (Piece p1, Square to) |
Ptypeをtemplate引数にできる場合 More... | |
template<Player P> | |
void | doAction (Piece p1, Square to) |
Ptypeをtemplate引数にできない場合 More... | |
bool | done () const |
Private Member Functions | |
BOOST_CLASS_REQUIRE (Action, osl::move_action, Concept) | |
Private Attributes | |
const NumEffectState & | state |
Action & | ac |
全ての指手を生成
Definition at line 18 of file alwaysMove.h.
|
inline |
Definition at line 25 of file alwaysMove.h.
|
private |
|
inline |
Ptypeをtemplate引数にできない場合
Definition at line 48 of file alwaysMove.h.
References osl::effect_action::AlwaysMove< Action >::ac, osl::PtypeTable::canDropTo(), osl::canPromote(), osl::Square::canPromote(), osl::promote(), osl::Piece::ptype(), osl::Ptype_Table, osl::Piece::square(), and osl::effect_action::AlwaysMove< Action >::state.
|
inline |
Ptypeをtemplate引数にできる場合
Definition at line 30 of file alwaysMove.h.
References osl::effect_action::AlwaysMove< Action >::ac, osl::PtypePlayerTraits< T, P >::canDropTo(), osl::canPromote(), osl::Square::canPromote(), osl::Piece::isPromotedNotKingGold(), osl::promote(), osl::Piece::ptype(), osl::Piece::square(), osl::effect_action::AlwaysMove< Action >::state, and osl::unpromote().
|
inline |
Definition at line 77 of file alwaysMove.h.
|
private |
Definition at line 23 of file alwaysMove.h.
Referenced by osl::effect_action::AlwaysMove< Action >::doAction(), and osl::effect_action::AlwaysMove< Action >::doActionPtype().
|
private |
Definition at line 22 of file alwaysMove.h.
Referenced by osl::effect_action::AlwaysMove< Action >::doAction(), and osl::effect_action::AlwaysMove< Action >::doActionPtype().