Capture pieces that has effect to squares around King and to the King. More...
#include <captureEffectToAroundKing8.h>
Static Public Member Functions | |
template<class Action > | |
static void | generateTo (const NumEffectState &state, Square p, Action &action) |
static void | generate (const NumEffectState &state, MoveVector &moves) |
Capture pieces that has effect to squares around King and to the King.
Definition at line 21 of file captureEffectToAroundKing8.h.
|
inlinestatic |
Definition at line 39 of file captureEffectToAroundKing8.h.
References osl::Centering3x3::adjustCenter(), osl::Board_Table, osl::D, osl::DL, osl::DR, osl::move_generator::CaptureEffectToAroundKing8< P >::generateTo(), osl::BoardTable::getOffsetForBlack(), osl::L, osl::R, osl::U, osl::UL, and osl::UR.
|
inlinestatic |
Definition at line 24 of file captureEffectToAroundKing8.h.
References osl::ntesuki::capture(), osl::Square::isEdge(), and osl::Square::isOnBoard().
Referenced by osl::move_generator::CaptureEffectToAroundKing8< P >::generate().