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