#include <checkmate.h>
Public Member Functions | |
CheckmateIfCapture () | |
bool | match (const NumEffectState &state, Move move, const RatingEnv &) const |
Definition at line 14 of file checkmate.h.
osl::rating::CheckmateIfCapture::CheckmateIfCapture | ( | ) | [inline] |
Definition at line 17 of file checkmate.h.
bool osl::rating::CheckmateIfCapture::match | ( | const NumEffectState & | state, |
Move | move, | ||
const RatingEnv & | |||
) | const [inline, virtual] |
Implements osl::rating::Feature.
Definition at line 18 of file checkmate.h.
References osl::alt(), osl::checkmate::CheckmateIfCapture::effectiveAttack(), osl::checkmate::CheckmateIfCapture::effectiveAttackCandidate0(), osl::Move::player(), and osl::Move::to().