TheChess
Public Member Functions | Static Public Member Functions | Friends

thechess::chess::Moves Class Reference

Inheritance diagram for thechess::chess::Moves:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Moves (int moves_count=0)
 Moves (Move moves[], int moves_count)
const svuc & as_svuc () const
svuc & as_svuc ()
int size () const
void push_move (Move move)
void pop_move ()
void pop_moves (int number)
Move move_at (int n, const Board &board) const
Move move_at (int n) const
Board board_at (int n) const
int check () const
int human_size () const
void pgn (std::ostream &out, const std::string &result, bool reduced=false) const

Static Public Member Functions

static int n_to_human (int move_n)
static int size_to_human (int size)
static int n_from_human (int human_i, Color color)
static int order_int (int move_n)
static Color order (int move_n)

Friends

void run_tests ()

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