From c027f1b9cd6c9deb60931a7f9f75bb4ee130291b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 18 Oct 2009 15:24:07 -0400 Subject: Added local highscore list You can now view and add to a local highscore list. A change to State was necessary due to how the user's name would be entered into the highscore list and thus all states have been modified. Refs #104 --- highscore.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 highscore.h (limited to 'highscore.h') diff --git a/highscore.h b/highscore.h new file mode 100644 index 0000000..721b226 --- /dev/null +++ b/highscore.h @@ -0,0 +1,18 @@ +#ifndef HIGHSCORE_H +#define HIGHSCORE_H + +class Highscore { + public: + Highscore(char* name, int level); + char* getName(); + int getLevel(); + void setRank(int rank); + int getRank(); + + private: + char* name; + int level; + int rank; +}; + +#endif -- cgit 1.4.1