Additional tools to apply rules. More...
Static Public Member Functions | |
static bool | isAPiece (const Piece &piece) |
Static Public Attributes | |
static const int | PT_NONE = 0 |
Additional tools to apply rules.
bool RulesUtils::isAPiece | ( | const Piece & | piece | ) | [static] |
Checks if the piece is valid and is a real piece (not PT_NONE)
piece |
const int RulesUtils::PT_NONE = 0 [static] |
ID that defines the lack of piece