Untitled

 avatar
unknown
plain_text
10 months ago
223 B
5
Indexable
#pragma once

class Score {
public:
    Score();
    void updateScore(int points);
    int getScore() const;
    void setHighScore(int highScore);
    int getHighScore() const;

private:
    int score;
    int highScore;
};
Editor is loading...
Leave a Comment