|
My Project
|
#include <square.h>
Public Member Functions | |
| SquareY (int iy, Ptype ptype, bool drop) | |
| bool | match (const NumEffectState &, Move move, const RatingEnv &) 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 |
Static Public Member Functions | |
| static int | makeY (Move move) |
Static Private Member Functions | |
| static const std::string | name (int y) |
| Static Private Member Functions inherited from osl::rating::DropPtype | |
| static std::string | name (Ptype ptype, bool drop) |
| static int | index (Move move) |
Private Attributes | |
| int | y |
| Private Attributes inherited from osl::rating::DropPtype | |
| Ptype | ptype |
| bool | drop |
Additional Inherited Members | |
| Private Types inherited from osl::rating::DropPtype | |
| enum | { UNIT = PTYPE_MAX+1-PTYPE_PIECE_MIN + (PTYPE_MAX+1 - (PTYPE_BASIC_MIN+1)) } |
| Private Member Functions inherited from osl::rating::DropPtype | |
| DropPtype (Ptype p, bool d) | |
| bool | match (Move m) const |
|
inline |
Definition at line 151 of file square.h.
References osl::rating::DropPtype::drop, osl::rating::DropPtype::DropPtype(), osl::rating::Feature::Feature(), name(), osl::rating::DropPtype::ptype, and y.
|
inlinestatic |
Definition at line 153 of file square.h.
References osl::Move::player(), osl::Move::to(), osl::WHITE, and osl::Square::y().
Referenced by osl::rating::SquareYGroup::findMatch(), and match().
|
inlinevirtual |
Implements osl::rating::Feature.
Definition at line 160 of file square.h.
References makeY(), osl::rating::DropPtype::match(), and y.
|
staticprivate |
|
private |