diff options
Diffstat (limited to 'highscore.h')
-rw-r--r-- | highscore.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/highscore.h b/highscore.h new file mode 100644 index 0000000..721b226 --- /dev/null +++ b/highscore.h | |||
@@ -0,0 +1,18 @@ | |||
1 | #ifndef HIGHSCORE_H | ||
2 | #define HIGHSCORE_H | ||
3 | |||
4 | class Highscore { | ||
5 | public: | ||
6 | Highscore(char* name, int level); | ||
7 | char* getName(); | ||
8 | int getLevel(); | ||
9 | void setRank(int rank); | ||
10 | int getRank(); | ||
11 | |||
12 | private: | ||
13 | char* name; | ||
14 | int level; | ||
15 | int rank; | ||
16 | }; | ||
17 | |||
18 | #endif | ||