#include <capture.h>
Public Types | |
enum | { INF = 999999 } |
Public Member Functions | |
Capture (int f, int l) | |
bool | match (const NumEffectState &state, Move move, const RatingEnv &env) const |
Static Public Member Functions | |
static int | see (const NumEffectState &state, Move move, const RatingEnv &env) |
Static Private Member Functions | |
static const std::string | name (int first, int last) |
Private Attributes | |
int | first |
int | last |
osl::rating::Capture::Capture | ( | int | f, |
int | l | ||
) | [inline] |
bool osl::rating::Capture::match | ( | const NumEffectState & | state, |
Move | move, | ||
const RatingEnv & | env | ||
) | const [inline, virtual] |
const std::string osl::rating::Capture::name | ( | int | first, |
int | last | ||
) | [static, private] |
Definition at line 6 of file capture.cc.
static int osl::rating::Capture::see | ( | const NumEffectState & | state, |
Move | move, | ||
const RatingEnv & | env | ||
) | [inline, static] |
Definition at line 24 of file capture.h.
References osl::rating::RatingEnv::my_pin, and osl::rating::RatingEnv::op_pin.
Referenced by osl::rating::CaptureGroup::findMatch(), and match().
int osl::rating::Capture::first [private] |
int osl::rating::Capture::last [private] |