First try for small blind / big blind before start of hand. There seems to be a problem with player ids or numbers, however.

This commit is contained in:
lotodore
2007-05-21 22:16:32 +00:00
parent 8f8a851500
commit 5744980d36
8 changed files with 210 additions and 8 deletions
+14
View File
@@ -173,3 +173,17 @@ void Game::startHand()
actualHand->start();
}
PlayerInterface *Game::getPlayerByUniqueId(unsigned id)
{
PlayerInterface *tmpPlayer = NULL;
for (int i = 0; i < startQuantityPlayers; i++)
{
if (playerArray[i]->getMyUniqueID() == id)
{
tmpPlayer = playerArray[i];
break;
}
}
return tmpPlayer;
}