My Project
|
取った駒をすぐ使う More...
#include <capture.h>
Public Member Functions | |
DropCaptured (Ptype ptype) | |
bool | match (const NumEffectState &, Move move, const RatingEnv &env) const |
![]() | |
Feature (const std::string &name) | |
virtual | ~Feature () |
virtual bool | effectiveInCheck () const |
const std::string & | name () const |
Private Attributes | |
Ptype | ptype |
osl::rating::DropCaptured::DropCaptured | ( | Ptype | ptype | ) |
Definition at line 18 of file capture.cc.
|
inlinevirtual |
Implements osl::rating::Feature.
Definition at line 74 of file capture.h.
References osl::Move::capturePtype(), osl::container::MoveStack::hasLastMove(), osl::rating::RatingEnv::history, osl::Move::isDrop(), osl::Move::isNormal(), osl::container::MoveStack::lastMove(), osl::Move::ptype(), ptype, osl::PTYPE_EMPTY, and osl::unpromote().
|
private |