Logo Search packages:      
Sourcecode: schafkopf version File versions  Download package

void Game::resetGameResults (  )  [private]

set the results of all players to 0. This is necessary if for example the class for the results calculation was changed or when a new game is started.

Definition at line 455 of file game.cpp.

{
    int i;
    // reset points (i.e. results) from a previous game
    for(i=0;i<PLAYERS;i++)
        m_players[i]->setPoints( 0.0 );    
    m_timesThrownTogether = 0;
}


Generated by  Doxygen 1.6.0   Back to index