mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-30 20:34:27 +01:00
- comment update
This commit is contained in:
parent
e25d5825a6
commit
1ea7bbaf9e
2 changed files with 8 additions and 2 deletions
|
@ -90,7 +90,11 @@ const Turn& History::getTurn(unsigned int n) const
|
||||||
return *(m_history[n]);
|
return *(m_history[n]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This function increments the number of racks, and fills the new rack
|
||||||
|
* with the unplayed tiles from the previous one.
|
||||||
|
* 03 sept 2000 : We have to sort the tiles according to the new rules
|
||||||
|
*/
|
||||||
void History::playRound(int player, int turn, const Round& round)
|
void History::playRound(int player, int turn, const Round& round)
|
||||||
{
|
{
|
||||||
Rack rack;
|
Rack rack;
|
||||||
|
|
|
@ -40,7 +40,9 @@ class Round;
|
||||||
* - one for each of the players
|
* - one for each of the players
|
||||||
*
|
*
|
||||||
* A History is never empty (getSize() can be used as the is the current turn
|
* A History is never empty (getSize() can be used as the is the current turn
|
||||||
* number for the complete game history). The top of the history is an empty
|
* number for the complete game history).
|
||||||
|
*
|
||||||
|
* The top of the history is an empty
|
||||||
* Turn until it has been filled and game is up to a new round.
|
* Turn until it has been filled and game is up to a new round.
|
||||||
*
|
*
|
||||||
* getCurrentRack() can/should be used to store the current played rack.
|
* getCurrentRack() can/should be used to store the current played rack.
|
||||||
|
|
Loading…
Add table
Reference in a new issue