osl::rating::ImmediateEscape Class Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
osl::rating::ImmediateEscape Class Reference

`#include <escape.h>`

Inheritance diagram for osl::rating::ImmediateEscape:
[legend]
Collaboration diagram for osl::rating::ImmediateEscape:
[legend]

## Public Member Functions
| ImmediateEscape (Ptype s, Ptype a)
bool | match (const NumEffectState &state, Move move, const RatingEnv &env) const
Public Member Functions inherited from osl::rating::Feature
| Feature (const std::string &name)
virtual | ~Feature ()
virtual bool | effectiveInCheck () const
const std::string & | name () const

## Private Attributes
Ptype | self
Ptype | attack

## Detailed Description

Definition at line 52 of file feature/escape.h.

## Constructor & Destructor Documentation

osl::rating::ImmediateEscape::ImmediateEscape | ( | Ptype | s,
|  | Ptype | a
| ) |  |
| inline

Definition at line 56 of file feature/escape.h.

## Member Function Documentation

bool osl::rating::ImmediateEscape::match | ( | const NumEffectState & | state,
|  | Move | move,
|  | const RatingEnv & | env
| ) |  | const
| inlinevirtual

Implements osl::rating::Feature.

Definition at line 61 of file feature/escape.h.

References attack, osl::Move::from(), osl::rating::RatingEnv::history, osl::Move::isDrop(), osl::Move::isNormal(), osl::Move::ptype(), osl::Move::ptypeO(), and osl::Move::to().

## Member Data Documentation

Ptype osl::rating::ImmediateEscape::attack
| private

Definition at line 54 of file feature/escape.h.

Referenced by match().

Ptype osl::rating::ImmediateEscape::self
| private

Definition at line 54 of file feature/escape.h.

The documentation for this class was generated from the following file:

- feature/escape.h