one ConfigFile for all

This commit is contained in:
doitux
2007-05-13 18:17:25 +00:00
parent 60eb04a920
commit e2d394f576
7 changed files with 29 additions and 26 deletions
+3 -2
View File
@@ -36,8 +36,7 @@ class BoardInterface;
class LocalPlayer : public PlayerInterface{
public:
LocalPlayer(
BoardInterface *b, int id, unsigned uniqueId, PlayerType type, std::string name, std::string avatar, int sC, bool aS, int mB);
LocalPlayer(ConfigFile*, BoardInterface *b, int id, unsigned uniqueId, PlayerType type, std::string name, std::string avatar, int sC, bool aS, int mB);
~LocalPlayer();
@@ -142,6 +141,8 @@ public:
private:
ConfigFile *myConfig;
HandInterface *actualHand;
BoardInterface *actualBoard;