Static Public Member Functions | Static Public Attributes

RulesUtils Class Reference

Additional tools to apply rules. More...

List of all members.

Static Public Member Functions

static bool isAPiece (const Piece &piece)

Static Public Attributes

static const int PT_NONE = 0

Detailed Description

Additional tools to apply rules.


Member Function Documentation

bool RulesUtils::isAPiece ( const Piece piece  )  [static]

Checks if the piece is valid and is a real piece (not PT_NONE)

Parameters:
piece 
Returns:
true if it is a valid piece

Member Data Documentation

const int RulesUtils::PT_NONE = 0 [static]

ID that defines the lack of piece


The documentation for this class was generated from the following files:
 All Classes Functions Variables