Rejoin works.

This commit is contained in:
lotodore
2011-10-11 19:18:11 +00:00
parent 32843b2100
commit 03083e8ec0
4 changed files with 63 additions and 38 deletions
+5
View File
@@ -103,6 +103,11 @@ public:
return dealerPosition;
}
void replaceDealer(unsigned oldDealer, unsigned newDealer) {
if (dealerPosition == oldDealer)
dealerPosition = newDealer;
}
boost::shared_ptr<PlayerInterface> getPlayerByUniqueId(unsigned id);
boost::shared_ptr<PlayerInterface> getPlayerByName(const std::string &name);
boost::shared_ptr<PlayerInterface> getCurrentPlayer();