Untitled
unknown
plain_text
a year ago
261 B
11
Indexable
#ifndef SCORE_H
#define SCORE_H
class Score {
public:
Score();
void reset();
void addScore(int points);
int getScore() const;
int getHighScore() const;
void setHighScore(int score);
private:
int score;
int highScore;
};
#endifEditor is loading...
Leave a Comment