構成 | |
struct | Entry |
Public メソッド | |
bool | hasEffect (const NumEffectState &state, PtypeO ptypeo, Square from, Square target) const |
bool | hasEffectOrAdditional (const NumEffectState &state, PtypeO ptypeo, Square from, Square target) const |
Square | findNearest (const NumEffectState &state, PtypeO ptypeo, Square from, Square target) const |
Private メソッド | |
void | init (Player) |
Private 変数 | |
CArray2d< Entry, PTYPEO_SIZE, Offset32::SIZE > | table |
フレンド | |
class | Neighboring8Direct |
neighboring8Direct.h の 17 行で定義されています。
Square osl::effect_util::Neighboring8Direct::Table::findNearest | ( | const NumEffectState & | state, | |
PtypeO | ptypeo, | |||
Square | from, | |||
Square | target | |||
) | const [inline] |
neighboring8Direct.h の 85 行で定義されています。
参照先 osl::getPtype(), osl::effect_util::Neighboring8Direct::Table::Entry::has_unblockable_effect, osl::PtypeTable::hasLongMove(), osl::Offset32Base< Width, Width2 >::index(), osl::SimpleState::isEmptyBetween(), osl::effect_util::Neighboring8Direct::Table::Entry::nearest, osl::Ptype_Table, osl::ptypeOIndex(), osl::Square::STAND(), table, と osl::Offset::zero().
bool osl::effect_util::Neighboring8Direct::Table::hasEffect | ( | const NumEffectState & | state, | |
PtypeO | ptypeo, | |||
Square | from, | |||
Square | target | |||
) | const [inline] |
neighboring8Direct.h の 31 行で定義されています。
参照先 osl::getPtype(), osl::effect_util::Neighboring8Direct::Table::Entry::has_unblockable_effect, osl::PtypeTable::hasLongMove(), osl::SimpleState::isEmptyBetween(), osl::Square::isOnBoard(), osl::effect_util::Neighboring8Direct::Table::Entry::nearest, osl::Ptype_Table, osl::ptypeOIndex(), table, と osl::Offset::zero().
bool osl::effect_util::Neighboring8Direct::Table::hasEffectOrAdditional | ( | const NumEffectState & | state, | |
PtypeO | ptypeo, | |||
Square | from, | |||
Square | target | |||
) | const [inline] |
neighboring8Direct.h の 51 行で定義されています。
参照先 osl::alt(), osl::Board_Table, osl::BoardTable::getLongDirection(), osl::getOwner(), osl::getPtype(), osl::BoardTable::getShortOffset(), osl::effect_util::Neighboring8Direct::Table::Entry::has_unblockable_effect, osl::NumEffectState::hasEffectByPiece(), osl::PtypeTable::hasLongMove(), osl::Offset32Base< Width, Width2 >::index(), osl::Piece::isEmpty(), osl::NumEffectState::kingMobilityOfPlayer(), osl::SimpleState::kingSquare(), osl::longToShort(), osl::effect_util::Neighboring8Direct::Table::Entry::nearest, osl::SimpleState::pieceAt(), osl::Ptype_Table, osl::ptypeOIndex(), table, と osl::Offset::zero().
参照元 osl::effect_util::Neighboring8Direct::hasEffectOrAdditional().
void osl::effect_util::Neighboring8Direct::Table::init | ( | Player | player | ) | [private] |
neighboring8Direct.cc の 17 行で定義されています。
参照先 osl::Board_Table, osl::DIRECTION_MIN, osl::Offset::dx(), osl::Offset::dy(), osl::PtypeTable::getMoveMask(), osl::BoardTable::getOffset(), osl::Offset32Base< Width, Width2 >::index(), osl::isLong(), osl::isPiece(), osl::effect_util::Neighboring8Direct::Table::Entry::nearest, osl::newPtypeO(), osl::PTYPE_PIECE_MIN, osl::Ptype_Table, osl::ptypeOIndex(), table, と osl::Offset::zero().
friend class Neighboring8Direct [friend] |
neighboring8Direct.h の 28 行で定義されています。
CArray2d<Entry,PTYPEO_SIZE,Offset32::SIZE> osl::effect_util::Neighboring8Direct::Table::table [private] |
neighboring8Direct.h の 27 行で定義されています。
参照元 findNearest(), hasEffect(), hasEffectOrAdditional(), と init().