This commit is contained in:
doitux
2007-03-29 00:15:43 +00:00
parent db54e45739
commit c1f7a257f1
8 changed files with 27 additions and 18 deletions
+5 -1
View File
@@ -36,7 +36,7 @@ class BoardInterface;
class LocalPlayer : public PlayerInterface{
public:
LocalPlayer(BoardInterface*, int, std::string, int, bool, int);
LocalPlayer(BoardInterface*, int, std::string, std::string, int, bool, int);
~LocalPlayer();
@@ -51,6 +51,9 @@ public:
void setMyName(const std::string& theValue) { myName = theValue; }
std::string getMyName() const { return myName; }
void setMyAvatar(const std::string& theValue) { myAvatar = theValue; }
std::string getMyAvatar() const { return myAvatar; }
void setMyCash(const int& theValue) { myCash = theValue; }
int getMyCash() const { return myCash; }
@@ -132,6 +135,7 @@ private:
// Konstanten
int myID;
std::string myName;
std::string myAvatar;
int myDude;
int myDude4;