#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 & | env, | |||
bool | attack | |||
) | [inline, static] |
pinAttack.h の 55 行で定義されています。
参照先 osl::alt(), index(), osl::rating::RatingEnv::my_pin, osl::rating::RatingEnv::op_pin, と osl::Move::to().
bool osl::rating::PinAttack::match | ( | const NumEffectState & | state, | |
Move | move, | |||
const RatingEnv & | env | |||
) | const [inline, virtual] |
osl::rating::Featureを実装しています。
pinAttack.h の 31 行で定義されています。
参照先 osl::alt(), attack, match(), osl::rating::RatingEnv::my_pin, osl::rating::RatingEnv::op_pin, osl::Move::ptype(), と osl::Move::to().
bool osl::rating::PinAttack::match | ( | const NumEffectState & | state, | |
Move | move, | |||
const RatingEnv & | , | |||
Piece | p | |||
) | const [inline] |
pinAttack.h の 23 行で定義されています。
参照先 osl::Move::from(), osl::Move::isDrop(), osl::Piece::position(), osl::Piece::ptype(), osl::Move::ptypeO(), target, と osl::Move::to().
参照元 match().
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().