Untitled

mail@pastecode.io avatar
unknown
plain_text
5 months ago
223 B
2
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;
};
Leave a Comment