capture_.cc
Go to the documentation of this file.
/* generateCaptureMoves.cc
*/
#include "osl/move_generator/capture_.h"
#include "osl/move_generator/capture_.tcc"
#include "osl/move_generator/move_action.h"
#include "osl/numEffectState.h"
namespace osl
{
namespace move_generator
{
using namespace move_action;
// explicit template instantiation
template void GenerateCapture::generate(Player,const NumEffectState&,
Square, Store&);
template void GenerateCapture::generate1(Player,const NumEffectState&,
Square, Store&);
template void Capture<Store>::escapeByCapture<BLACK>
(const NumEffectState&, Square, Piece, Store&);
template void Capture<Store>::escapeByCapture<WHITE>
(const NumEffectState&, Square, Piece, Store&);
template void Capture<Store>::generate<BLACK>(NumEffectState const&, Square, Store&);
template void Capture<Store>::generate<WHITE>(NumEffectState const&, Square, Store&);
template void Capture<Store>::generate1<BLACK>(NumEffectState const&, Square, Store&);
template void Capture<Store>::generate1<WHITE>(NumEffectState const&, Square, Store&);
} // namespace move_generator
} // namespace osl
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
capture_.h
capture_.tcc
osl::move_generator::Capture::generate
static void generate(const NumEffectState &state, Square target, Action &action)
osl::move_generator::Capture::escapeByCapture
static void escapeByCapture(const NumEffectState &state, Square target, Piece piece, Action &action)
osl::move_generator::Capture::generate1
static void generate1(const NumEffectState &state, Square target, Action &action)
取る手を1手だけ作る
move_action.h
osl::move_generator
Definition addEffectWithEffect.cc:10
osl
Definition additionalEffect.h:6
osl::Player
Player
Definition basic_type.h:8
numEffectState.h
osl::move_action::Store
指手を MoveVector に保管
Definition move_action.h:16
osl::move_generator::GenerateCapture::generate1
static void generate1(Player p, const NumEffectState &state, Square target, Action &action)
Definition capture_.h:70
osl::move_generator::GenerateCapture::generate
static void generate(Player p, const NumEffectState &state, Square target, Action &action)
Definition capture_.h:49