Untitled
#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
#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; };