remove board-pointer from player
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user