Advertisement
Guest User

score.h - scrabble

a guest
May 10th, 2010
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #ifndef SCORE_H_
  2. #define SCORE_H_
  3.  
  4. #include "Player.h"
  5. #include <string>
  6.  
  7. using std::string;
  8.  
  9. class Score
  10. {
  11.  
  12. public:
  13.     Score(string name);
  14.     Score();
  15.     virtual ~Score();
  16.     void addPoints(int n);
  17.     string scoreGetName();
  18.     int getPoints();
  19.     void scoreSetName(string name);
  20.  
  21. private:
  22.     string _name;
  23.     int _points;
  24.  
  25. };
  26. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement