#include <escape.h>
Public Member Functions | |
PtypeAttacked (Ptype s, Ptype a) | |
bool | match (const NumEffectState &state, Move move, const RatingEnv &) const |
Private Attributes | |
Ptype | self |
Ptype | attack |
Definition at line 25 of file feature/escape.h.
osl::rating::PtypeAttacked::PtypeAttacked | ( | Ptype | s, |
Ptype | a | ||
) | [inline] |
Definition at line 29 of file feature/escape.h.
bool osl::rating::PtypeAttacked::match | ( | const NumEffectState & | state, |
Move | move, | ||
const RatingEnv & | |||
) | const [inline, virtual] |
Implements osl::rating::Feature.
Definition at line 34 of file feature/escape.h.
References osl::alt(), attack, osl::Move::from(), osl::Move::isDrop(), osl::Move::oldPtype(), and osl::Move::player().
Ptype osl::rating::PtypeAttacked::attack [private] |
Definition at line 27 of file feature/escape.h.
Referenced by match().
Ptype osl::rating::PtypeAttacked::self [private] |
Definition at line 27 of file feature/escape.h.