remove board-pointer from player

This commit is contained in:
floty
2011-01-12 22:33:03 +00:00
parent 0fffc9476e
commit a2d0272ed3
10 changed files with 26 additions and 30 deletions
+1 -3
View File
@@ -28,11 +28,10 @@
class CardsValue;
class ConfigFile;
class HandInterface;
class BoardInterface;
class ClientPlayer : public PlayerInterface{
public:
ClientPlayer(ConfigFile*, BoardInterface *b, int id, unsigned uniqueId, PlayerType type, std::string name, std::string avatar, int sC, bool aS, int mB);
ClientPlayer(ConfigFile*, int id, unsigned uniqueId, PlayerType type, std::string name, std::string avatar, int sC, bool aS, int mB);
~ClientPlayer();
void setHand(HandInterface *);
@@ -146,7 +145,6 @@ private:
ConfigFile *myConfig;
HandInterface *currentHand;
BoardInterface *currentBoard;
CardsValue *myCardsValue;