駒を取る手を生成 More...
#include <capture_.h>
Static Public Member Functions | |
| template<Player P> | |
| static void | generate (const NumEffectState &state, Square target, Action &action) |
| template<Player P> | |
| static void | escapeByCapture (const NumEffectState &state, Square target, Piece piece, Action &action) |
| template<Player P> | |
| static void | generate1 (const NumEffectState &state, Square target, Action &action) |
| 取る手を1手だけ作る | |
Private Member Functions | |
| BOOST_CLASS_REQUIRE (Action, osl::move_action, Concept) | |
駒を取る手を生成
Definition at line 19 of file capture_.h.
| osl::move_generator::Capture< Action >::BOOST_CLASS_REQUIRE | ( | Action | , |
| osl::move_action | , | ||
| Concept | |||
| ) | [private] |
| template void osl::move_generator::Capture< Action >::escapeByCapture< WHITE > | ( | const NumEffectState & | state, |
| Square | target, | ||
| Piece | piece, | ||
| Action & | action | ||
| ) | [static] |
| target | 取る駒の位置 (can be empty) |
| piece | この駒以外で取る before 2009/12/20 pinを考慮していなかった |
Definition at line 46 of file capture_.tcc.
References osl::Piece::number(), and target.
| template void osl::move_generator::Capture< Action >::generate< WHITE > | ( | const NumEffectState & | state, |
| Square | target, | ||
| Action & | action | ||
| ) | [static] |
| target | 取る駒の位置 (can be empty) |
Definition at line 36 of file capture_.tcc.
References osl::Square::isOnBoard(), and target.
| template void osl::move_generator::Capture< Action >::generate1< WHITE > | ( | const NumEffectState & | state, |
| Square | target, | ||
| Action & | action | ||
| ) | [static] |
取る手を1手だけ作る
| target | 取る駒の位置 (can be empty) |
Definition at line 59 of file capture_.tcc.
References osl::Piece::isPiece().
1.7.6.1