363 |
text = wxT(""); |
text = wxT(""); |
364 |
if (m_game) |
if (m_game) |
365 |
{ |
{ |
366 |
text << wxT("coup:") << (m_game->getNRounds() + 1) |
text << wxT("coup:") << (m_game->getNTurns() + 1) |
367 |
<< wxT(" ") |
<< wxT(" ") |
368 |
<< wxT("points:") << m_game->getPlayer(0).getPoints(); |
<< wxT("points:") << m_game->getPlayer(0).getPoints(); |
369 |
} |
} |
439 |
return; |
return; |
440 |
} |
} |
441 |
} |
} |
442 |
string r = m_game->getPlayedRack(m_game->getNRounds()); |
string r = m_game->getPlayedRack(m_game->getNTurns()); |
443 |
rack->SetValue(wxU(r.c_str())); |
rack->SetValue(wxU(r.c_str())); |
444 |
results->DeleteAllItems(); |
results->DeleteAllItems(); |
445 |
UpdateStatusBar(); |
UpdateStatusBar(); |
919 |
((Training*)m_game)->playResult(n); |
((Training*)m_game)->playResult(n); |
920 |
} |
} |
921 |
|
|
922 |
if (m_game->getNRounds() >= 0) |
if (m_game->getNTurns() >= 0) |
923 |
{ |
{ |
924 |
string r = m_game->getPlayerRack(0,true); |
string r = m_game->getPlayerRack(0,true); |
925 |
rack->SetValue(wxU(r.c_str())); |
rack->SetValue(wxU(r.c_str())); |