#include <square.h>


Public Member Functions | |
| SquareX (int ix, Ptype ptype, bool drop) | |
| bool | match (const NumEffectState &, Move move, const RatingEnv &) const |
Static Public Member Functions | |
| static int | makeX (Move move) |
Static Private Member Functions | |
| static const std::string | name (int x) |
Private Attributes | |
| int | x |
Definition at line 124 of file rating/feature/square.h.
| osl::rating::SquareX::SquareX | ( | int | ix, |
| Ptype | ptype, | ||
| bool | drop | ||
| ) | [inline] |
Definition at line 129 of file rating/feature/square.h.
| static int osl::rating::SquareX::makeX | ( | Move | move | ) | [inline, static] |
Definition at line 131 of file rating/feature/square.h.
References osl::Move::to(), and osl::Square::x().
Referenced by osl::rating::SquareXGroup::findMatch(), and match().
| bool osl::rating::SquareX::match | ( | const NumEffectState & | , |
| Move | move, | ||
| const RatingEnv & | |||
| ) | const [inline, virtual] |
Implements osl::rating::Feature.
Definition at line 138 of file rating/feature/square.h.
References makeX(), osl::rating::DropPtype::match(), and x.
| const std::string osl::rating::SquareX::name | ( | int | x | ) | [static, private] |
Definition at line 33 of file rating/feature/square.cc.
int osl::rating::SquareX::x [private] |
Definition at line 126 of file rating/feature/square.h.
Referenced by match().
1.7.6.1