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

int Game::timesDoubled (  ) 

returns how many players have doubled

Definition at line 464 of file game.cpp.

{
    int i, d = 0;
    
    for( i=0;i<PLAYERS;i++)
        if( m_players[i]->geklopft() )
            d++;
    if( Settings::instance()->doubleNextGame() )
        d = d + m_timesThrownTogether;
    return d;
}


Generated by  Doxygen 1.6.0   Back to index