構成 | |
struct | Entry |
Public メソッド | |
Table () | |
bool | hasEffect (const NumEffectState &state, PtypeO ptypeo, Position from, Position target) const |
bool | hasEffectOrAdditional (const NumEffectState &state, PtypeO ptypeo, Position from, Position target) const |
Position | findNearest (const NumEffectState &state, PtypeO ptypeo, Position from, Position target) const |
Private メソッド | |
void | init (Player) |
Private 変数 | |
CArray2d< Entry, PTYPEO_SIZE, Offset32::SIZE > | table |
neighboring8Direct.h の 18 行で定義されています。
osl::effect_util::Neighboring8Direct::Table::Table | ( | ) |
neighboring8Direct.cc の 6 行で定義されています。
参照先 osl::BLACK, と osl::WHITE.
Position osl::effect_util::Neighboring8Direct::Table::findNearest | ( | const NumEffectState & | state, | |
PtypeO | ptypeo, | |||
Position | from, | |||
Position | target | |||
) | const [inline] |
neighboring8Direct.h の 84 行で定義されています。
参照先 osl::getPtype(), osl::effect_util::Neighboring8Direct::Table::Entry::has_unblockable_effect, osl::PtypeTable::hasLongMove(), osl::Offset32Base< Width, Width2 >::index(), osl::effect_util::Neighboring8Direct::Table::Entry::nearest, osl::Ptype_Table, osl::ptypeOIndex(), osl::Position::STAND(), table, と osl::Offset::zero().
bool osl::effect_util::Neighboring8Direct::Table::hasEffect | ( | const NumEffectState & | state, | |
PtypeO | ptypeo, | |||
Position | from, | |||
Position | target | |||
) | const [inline] |
neighboring8Direct.h の 32 行で定義されています。
参照先 osl::getPtype(), osl::effect_util::Neighboring8Direct::Table::Entry::has_unblockable_effect, osl::PtypeTable::hasLongMove(), osl::Offset32Base< Width, Width2 >::index(), 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, | |||
Position | from, | |||
Position | target | |||
) | const [inline] |
neighboring8Direct.h の 50 行で定義されています。
参照先 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::PtypeTable::hasLongMove(), osl::Offset32Base< Width, Width2 >::index(), osl::Piece::isEmpty(), osl::longToShort(), osl::effect_util::Neighboring8Direct::Table::Entry::nearest, 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 の 13 行で定義されています。
参照先 osl::Board_Table, osl::DIRECTION_MAX, 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_MAX, osl::PTYPE_PIECE_MIN, osl::Ptype_Table, osl::ptypeOIndex(), table, と osl::Offset::zero().
CArray2d<Entry,PTYPEO_SIZE,Offset32::SIZE> osl::effect_util::Neighboring8Direct::Table::table [private] |
neighboring8Direct.h の 28 行で定義されています。
参照元 findNearest(), hasEffect(), hasEffectOrAdditional(), と init().