My Project
|
#include <square.h>
Public Member Functions | |
SquareX (int ix, Ptype ptype, bool drop) | |
bool | match (const NumEffectState &, Move move, const RatingEnv &) const |
![]() | |
Feature (const std::string &name) | |
virtual | ~Feature () |
virtual bool | effectiveInCheck () const |
const std::string & | name () const |
Static Public Member Functions | |
static int | makeX (Move move) |
Static Private Member Functions | |
static const std::string | name (int x) |
![]() | |
static std::string | name (Ptype ptype, bool drop) |
static int | index (Move move) |
Private Attributes | |
int | x |
![]() | |
Ptype | ptype |
bool | drop |
Additional Inherited Members | |
![]() | |
enum | { UNIT = PTYPE_MAX+1-PTYPE_PIECE_MIN + (PTYPE_MAX+1 - (PTYPE_BASIC_MIN+1)) } |
![]() | |
DropPtype (Ptype p, bool d) | |
bool | match (Move m) const |
|
inline |
|
inlinestatic |
Definition at line 131 of file square.h.
References osl::Move::to(), and osl::Square::x().
Referenced by osl::rating::SquareXGroup::findMatch(), and match().
|
inlinevirtual |
Implements osl::rating::Feature.
Definition at line 138 of file square.h.
References makeX(), osl::rating::DropPtype::match(), and x.
|
staticprivate |
|
private |