Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef PLAYER_H_
- #define PLAYER_H_
- #include "Score.h"
- #include "Deck.h"
- #include <string>
- using std::string;
- class Player
- {
- public:
- Player();
- Player(string name);
- virtual ~Player();
- void addScore(int wordScore);
- void fillHand(Deck & deck);
- string getHand();
- string playerGetName();
- Score getScore();
- int getScoreValue();
- bool isWordPossible(string word);
- void removePiecesFromHand(string pieces);
- void playerSetName(string name);
- private:
- string _hand;
- Score _score;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement