osl::rating::DropCaptured 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::DropCaptured Class Reference

取った駒をすぐ使う More...

`#include <capture.h>`

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

## Public Member Functions
| DropCaptured (Ptype ptype)
bool | match (const NumEffectState &, 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 | ptype

## Detailed Description

取った駒をすぐ使う

Definition at line 69 of file capture.h.

## Constructor & Destructor Documentation

osl::rating::DropCaptured::DropCaptured | ( | Ptype | ptype) |  |

Definition at line 18 of file capture.cc.

## Member Function Documentation

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

Implements osl::rating::Feature.

Definition at line 74 of file capture.h.

References osl::rating::RatingEnv::history, osl::Move::isDrop(), ptype, osl::Move::ptype(), osl::PTYPE_EMPTY, and osl::unpromote().

## Member Data Documentation

Ptype osl::rating::DropCaptured::ptype
| private

Definition at line 71 of file capture.h.

Referenced by match().

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

- capture.h
- capture.cc