My Project
|
#include <feature.h>
Public Member Functions | |
Check (int p) | |
bool | match (const NumEffectState &state, Move move, const RatingEnv &) const |
bool | effectiveInCheck () const |
![]() | |
Feature (const std::string &name) | |
virtual | ~Feature () |
const std::string & | name () const |
Static Public Member Functions | |
static bool | openLong (const NumEffectState &state, Move move) |
Static Public Attributes | |
static const CArray< const char *, 4 > | check_property = {{ "Di", "DO", "OC", "Bo" }} |
Private Attributes | |
int | property |
Definition at line 56 of file rating/feature.h.
osl::rating::Check::Check | ( | int | p | ) |
Definition at line 12 of file feature.cc.
|
inlinevirtual |
Reimplemented from osl::rating::Feature.
Definition at line 71 of file rating/feature.h.
|
virtual |
Implements osl::rating::Feature.
Definition at line 16 of file feature.cc.
References osl::NumEffectState::isDirectCheck(), and osl::NumEffectState::isOpenCheck().
|
inlinestatic |
Definition at line 61 of file rating/feature.h.
References osl::BISHOP, osl::Move::from(), osl::NumEffectState::hasEffectByPtype(), osl::Move::isDrop(), osl::LANCE, osl::Move::player(), and osl::ROOK.
Referenced by osl::rating::CheckGroup::findMatch().
|
static |
Definition at line 11 of file rating/feature.h.
|
private |
Definition at line 58 of file rating/feature.h.