another way to initialize stayOnTableStatus for player-objects

This commit is contained in:
doitux
2011-12-18 22:34:55 +00:00
parent 0f93d0d9b0
commit fb94675aee
12 changed files with 18 additions and 16 deletions
@@ -48,9 +48,9 @@ ClientEngineFactory::createBoard(unsigned dp)
}
boost::shared_ptr<PlayerInterface>
ClientEngineFactory::createPlayer(int id, unsigned uniqueId, PlayerType type, std::string name, std::string avatar, int sC, bool aS, int mB)
ClientEngineFactory::createPlayer(int id, unsigned uniqueId, PlayerType type, std::string name, std::string avatar, int sC, bool aS, bool sotS, int mB)
{
return boost::shared_ptr<PlayerInterface>(new ClientPlayer(NULL, id, uniqueId, type, name, avatar, sC, aS, mB));
return boost::shared_ptr<PlayerInterface>(new ClientPlayer(NULL, id, uniqueId, type, name, avatar, sC, aS, sotS, mB));
}
std::vector<boost::shared_ptr<BeRoInterface> >