My Project
|
#include <square.h>
Public Types | |
enum | { UNIT = PTYPE_MAX+1-PTYPE_PIECE_MIN + (PTYPE_MAX+1 - (PTYPE_BASIC_MIN+1)) } |
Public Member Functions | |
DropPtype (Ptype p, bool d) | |
bool | match (Move m) const |
Static Public Member Functions | |
static std::string | name (Ptype ptype, bool drop) |
static int | index (Move move) |
Public Attributes | |
Ptype | ptype |
bool | drop |
|
inline |
|
inlinestatic |
Definition at line 31 of file square.h.
References index(), osl::isBasic(), osl::Move::isDrop(), osl::KING, osl::Move::ptype(), ptype, osl::PTYPE_BASIC_MIN, and osl::PTYPE_PIECE_MIN.
Referenced by osl::rating::SquareXGroup::findMatch(), osl::rating::SquareYGroup::findMatch(), and index().
|
inline |
Definition at line 22 of file square.h.
References drop, osl::Move::isDrop(), osl::Move::ptype(), and ptype.
Referenced by osl::rating::SquareX::match(), and osl::rating::SquareY::match().
|
inlinestatic |
Definition at line 26 of file square.h.
References drop, osl::PtypeTable::getCsaName(), ptype, and osl::Ptype_Table.
bool osl::rating::DropPtype::drop |
Ptype osl::rating::DropPtype::ptype |