#include <pinAttack.h>
Public メソッド | |
PinAttack (bool a, Ptype s, Ptype t) | |
bool | match (const NumEffectState &state, Move move, const RatingEnv &, Piece p) const |
bool | match (const NumEffectState &state, Move move, const RatingEnv &env) const |
Static Public メソッド | |
static int | index (const NumEffectState &state, Move move, const RatingEnv &, bool attack, Piece p) |
static int | index (const NumEffectState &state, Move move, const RatingEnv &env, bool attack) |
static const std::string | name (bool attack, Ptype self, Ptype target) |
Private 変数 | |
bool | attack |
Ptype | self |
Ptype | target |
pinAttack.h の 13 行で定義されています。
pinAttack.h の 18 行で定義されています。
static int osl::rating::PinAttack::index | ( | const NumEffectState & | state, | |
Move | move, | |||
const RatingEnv & | , | |||
bool | attack, | |||
Piece | p | |||
) | [inline, static] |
pinAttack.h の 45 行で定義されています。
参照先 osl::Move::from(), osl::NumEffectState::hasEffectByPiece(), osl::NumEffectState::hasEffectIf(), osl::Move::isDrop(), osl::SimpleState::pieceOnBoard(), osl::Piece::ptype(), osl::Move::ptype(), osl::PTYPE_MAX, osl::PTYPE_PIECE_MIN, osl::Move::ptypeO(), osl::Piece::square(), と osl::Move::to().
static int osl::rating::PinAttack::index | ( | const NumEffectState & | state, | |
Move | move, | |||
const RatingEnv & | env, | |||
bool | attack | |||
) | [inline, static] |
bool osl::rating::PinAttack::match | ( | const NumEffectState & | state, | |
Move | move, | |||
const RatingEnv & | env | |||
) | const [inline, virtual] |
osl::rating::Featureを実装しています。
pinAttack.h の 31 行で定義されています。
参照先 osl::alt(), osl::PieceMask::any(), attack, osl::NumEffectState::countEffect(), match(), osl::rating::RatingEnv::my_pin, osl::rating::RatingEnv::op_pin, osl::SimpleState::pieceOf(), osl::Move::ptype(), osl::Move::to(), と osl::SimpleState::turn().
bool osl::rating::PinAttack::match | ( | const NumEffectState & | state, | |
Move | move, | |||
const RatingEnv & | , | |||
Piece | p | |||
) | const [inline] |
static const std::string osl::rating::PinAttack::name | ( | bool | attack, | |
Ptype | self, | |||
Ptype | target | |||
) | [inline, static] |
pinAttack.h の 68 行で定義されています。
bool osl::rating::PinAttack::attack [private] |
pinAttack.h の 15 行で定義されています。
参照元 match().
Ptype osl::rating::PinAttack::self [private] |
pinAttack.h の 16 行で定義されています。
Ptype osl::rating::PinAttack::target [private] |
pinAttack.h の 16 行で定義されています。
参照元 match().