Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef SCORE_H_
- #define SCORE_H_
- #include "Player.h"
- #include <string>
- using std::string;
- class Score
- {
- public:
- Score(string name);
- Score();
- virtual ~Score();
- void addPoints(int n);
- string scoreGetName();
- int getPoints();
- void scoreSetName(string name);
- private:
- string _name;
- int _points;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement