adds activePlayerList and runningPlayerList (XXVI)

This commit is contained in:
doitux
2007-09-30 00:06:34 +00:00
parent 879cac4bbc
commit f8be237ead
5 changed files with 99 additions and 20 deletions
+18
View File
@@ -73,6 +73,24 @@ ClientHand::getPlayerArray() const
return playerArray;
}
PlayerList
ClientHand::getSeatsList() const
{
return activePlayerList;
}
PlayerList
ClientHand::getActivePlayerList() const
{
return activePlayerList;
}
PlayerList
ClientHand::getRunningPlayerList() const
{
return runningPlayerList;
}
PlayerListIterator
ClientHand::getSeatIt(unsigned uniqueId) const
{
+3 -2
View File
@@ -38,8 +38,9 @@ class ClientHand : public HandInterface
void start();
std::vector<boost::shared_ptr<PlayerInterface> > getPlayerArray() const;
PlayerList getActivePlayerList() const {return activePlayerList;}
PlayerList getRunningPlayerList() const {return runningPlayerList;}
PlayerList getSeatsList() const;
PlayerList getActivePlayerList() const;
PlayerList getRunningPlayerList() const;
PlayerListIterator getSeatIt(unsigned) const;
PlayerListIterator getActivePlayerIt(unsigned) const;