adds activePlayerList and runningPlayerList

This commit is contained in:
doitux
2007-09-23 21:30:51 +00:00
parent 8f029d2ea4
commit 84c857cbff
16 changed files with 74 additions and 34 deletions
+4 -2
View File
@@ -34,10 +34,12 @@ ClientBoard::~ClientBoard()
}
void
ClientBoard::setPlayer(std::vector<boost::shared_ptr<PlayerInterface> > p)
ClientBoard::setPlayerLists(std::vector<boost::shared_ptr<PlayerInterface> > sl, PlayerList apl, PlayerList rpl)
{
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
playerArray = p;
playerArray = sl;
activePlayerList = apl;
runningPlayerList = rpl;
}
void