|
My Project
|
全ての指手を生成 More...
#include <effect_action.h>
Public Member Functions | |
| AlwaysMove (const NumEffectState &s, Action &a) | |
| template<Player P, Ptype Type> | |
| void | doActionPtype (Piece p1, Square to) |
| Ptypeをtemplate引数にできる場合 | |
| template<Player P> | |
| void | doAction (Piece p1, Square to) |
| Ptypeをtemplate引数にできない場合 | |
| bool | done () const |
Private Attributes | |
| const NumEffectState & | state |
| Action & | ac |
全ての指手を生成
Definition at line 13 of file effect_action.h.
|
inline |
Definition at line 19 of file effect_action.h.
|
inline |
Ptypeをtemplate引数にできない場合
Definition at line 42 of file effect_action.h.
References ac, osl::canPromote(), osl::Square::canPromote(), osl::promote(), osl::Piece::ptype(), osl::Ptype_Table, osl::Piece::square(), and state.
|
inline |
Ptypeをtemplate引数にできる場合
Definition at line 24 of file effect_action.h.
References ac, osl::PtypePlayerTraits< T, P >::canDropTo(), osl::canPromote(), osl::Square::canPromote(), osl::Piece::isPromotedNotKingGold(), osl::promote(), osl::Piece::ptype(), osl::Piece::square(), state, and osl::unpromote().
|
inline |
Definition at line 71 of file effect_action.h.
|
private |
Definition at line 17 of file effect_action.h.
Referenced by AlwaysMove(), doAction(), and doActionPtype().
|
private |
Definition at line 16 of file effect_action.h.
Referenced by AlwaysMove(), doAction(), and doActionPtype().