ScummVM API documentation
MediaStation::CheckersMinigame::Checkers Class Reference

Public Member Functions

 Checkers (Collection *collection)
 
void setBoard (const Common::Array< int > &squares)
 
Common::Array< CheckersMinigame::PairpiecesThatCanMove (Side side)
 
void getValidMovesForPiece (const Pair &position, Common::Array< Move > &moves, bool capturesOnly)
 
bool calculateAndSortAllMovesForSide (Side side)
 
void prepareForBestMoveSearch (int depth)
 
bool searchForBestMove (int maxSearchTimeInMs)
 
MovegetCalculatedBestMove ()
 
bool validateBoard () const
 
void printToDebug () const
 

The documentation for this class was generated from the following file: