Moves pieces around the neighboring8 of the King. More...
#include <openKingRoad.h>
Static Public Member Functions | |
template<class Action > | |
static void | generateDir (const NumEffectState &state, Action &action, const Direction &dir) |
template<class Action > | |
static void | generate (const NumEffectState &state, Action &action) |
Moves pieces around the neighboring8 of the King.
Definition at line 13 of file openKingRoad.h.
static void osl::move_generator::OpenKingRoad< P >::generate | ( | const NumEffectState & | state, |
Action & | action | ||
) | [inline, static] |
static void osl::move_generator::OpenKingRoad< P >::generateDir | ( | const NumEffectState & | state, |
Action & | action, | ||
const Direction & | dir | ||
) | [inline, static] |
Definition at line 17 of file openKingRoad.h.
References osl::Board_Table, osl::Piece::EMPTY(), osl::BoardTable::getOffset(), osl::Square::isEdge(), and osl::Piece::owner().
Referenced by osl::move_generator::OpenKingRoad< P >::generate().