adds activePlayerList and runningPlayerList (XXVI)
This commit is contained in:
@@ -37,6 +37,7 @@ public:
|
||||
virtual void start() = 0;
|
||||
|
||||
virtual std::vector<boost::shared_ptr<PlayerInterface> > getPlayerArray() const =0; // delete
|
||||
virtual PlayerList getSeatsList() const =0;
|
||||
virtual PlayerList getActivePlayerList() const =0;
|
||||
virtual PlayerList getRunningPlayerList() const =0;
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ public:
|
||||
void start();
|
||||
|
||||
std::vector<boost::shared_ptr<PlayerInterface> > getPlayerArray() const { return playerArray; }
|
||||
PlayerList getSeatsList() const {return seatsList;}
|
||||
PlayerList getActivePlayerList() const {return activePlayerList;}
|
||||
PlayerList getRunningPlayerList() const {return runningPlayerList;}
|
||||
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user