|
Cute Chess
0.1
|
A class for storing a player's tournament-specific details. More...
#include <tournamentplayer.h>
Public Member Functions | |
| void | addScore (int score) |
| const OpeningBook * | book () const |
| int | bookDepth () const |
| const PlayerBuilder * | builder () const |
| int | draws () const |
| int | gamesFinished () const |
| int | losses () const |
| QString | name () const |
| int | score () const |
| void | setName (const QString &name) |
| const TimeControl & | timeControl () const |
| TournamentPlayer (PlayerBuilder *builder, const TimeControl &timeControl, const OpeningBook *book, int bookDepth) | |
| int | wins () const |
A class for storing a player's tournament-specific details.
| TournamentPlayer::TournamentPlayer | ( | PlayerBuilder * | builder, |
| const TimeControl & | timeControl, | ||
| const OpeningBook * | book, | ||
| int | bookDepth | ||
| ) |
Creates a new TournamentPlayer object.
| void TournamentPlayer::addScore | ( | int | score | ) |
Adds score to the player's score in the tournament.
| const OpeningBook * TournamentPlayer::book | ( | ) | const |
Returns the player's opening book.
| int TournamentPlayer::bookDepth | ( | ) | const |
Returns the player's maximum book depth.
| const PlayerBuilder * TournamentPlayer::builder | ( | ) | const |
Returns the player's builder object.
| int TournamentPlayer::draws | ( | ) | const |
Returns the total number of draws the player has in the tournament.
| int TournamentPlayer::gamesFinished | ( | ) | const |
Returns the total number of games the player has finished in the tournament.
| int TournamentPlayer::losses | ( | ) | const |
Returns the total number of losses the player has in the tournament.
| QString TournamentPlayer::name | ( | ) | const |
Returns the player's name.
| int TournamentPlayer::score | ( | ) | const |
Returns the player's total score in the tournament.
| void TournamentPlayer::setName | ( | const QString & | name | ) |
Sets the player's name to name.
| const TimeControl & TournamentPlayer::timeControl | ( | ) | const |
Returns the player's time control.
| int TournamentPlayer::wins | ( | ) | const |
Returns the total number of wins the player has in the tournament.
1.8.11