promote可能な場合は promoteしない手は生成しない More...
#include <simpleBetterToPromote.h>
| Public Member Functions | |
| SimpleBetterToPromote (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 | 
promote可能な場合は promoteしない手は生成しない
Definition at line 13 of file simpleBetterToPromote.h.
| 
 | inline | 
Definition at line 19 of file simpleBetterToPromote.h.
| 
 | private | 
| 
 | inline | 
Definition at line 30 of file simpleBetterToPromote.h.
References osl::effect_action::SimpleBetterToPromote< Action >::ac, osl::Square::canPromote(), osl::isPromoted(), osl::promote(), osl::Piece::ptype(), and osl::Piece::square().
| 
 | inline | 
Definition at line 21 of file simpleBetterToPromote.h.
References osl::effect_action::SimpleBetterToPromote< Action >::ac, osl::Square::canPromote(), osl::isPromoted(), osl::promote(), osl::Piece::ptype(), and osl::Piece::square().
| 
 | inline | 
Definition at line 38 of file simpleBetterToPromote.h.
| 
 | private | 
Definition at line 17 of file simpleBetterToPromote.h.
Referenced by osl::effect_action::SimpleBetterToPromote< Action >::doAction(), and osl::effect_action::SimpleBetterToPromote< Action >::doActionPtype().
 1.8.4
 1.8.4