#include <neighboring25Direct.h>
Static Public Member Functions | |
static bool | hasEffectNaive (const NumEffectState &state, PtypeO ptypeo, Square from, Square target) |
static bool | hasEffect (const NumEffectState &state, PtypeO ptypeo, Square from, Square target) |
Static Private Member Functions | |
static bool | hasEffectFromTo (const NumEffectState &state, PtypeO ptypeo, Square from, Square target, Offset offset) |
Definition at line 13 of file neighboring25Direct.h.
|
inlinestatic |
Definition at line 23 of file neighboring25Direct.h.
References hasEffectNaive().
|
staticprivate |
Definition at line 6 of file neighboring25Direct.cc.
References osl::Square::isOnBoard().
|
static |
Definition at line 15 of file neighboring25Direct.cc.
References osl::getPtype(), osl::PtypeTable::hasLongMove(), osl::LANCE, osl::newOffset(), osl::Ptype_Table, osl::Square::x(), and osl::Square::y().
Referenced by hasEffect().