diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-08-24 11:53:40 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-08-24 11:53:40 -0400 |
commit | d8f00310e486aed1ab289a0f816acec571193c32 (patch) | |
tree | 5f2ce4b1a1187035514bcd4e3c8b0b0f17b7c12c /Classes/Highscore.h | |
parent | 21294a54c49ab67e04898aac3482035bab6c79ae (diff) | |
download | cartcollect-d8f00310e486aed1ab289a0f816acec571193c32.tar.gz cartcollect-d8f00310e486aed1ab289a0f816acec571193c32.tar.bz2 cartcollect-d8f00310e486aed1ab289a0f816acec571193c32.zip |
Added support for multiple local highscore lists
This revision increments the database version to 2. Also fixed a small problem with GameModeSelection that aligned the highscore text incorrectly.
Diffstat (limited to 'Classes/Highscore.h')
-rwxr-xr-x | Classes/Highscore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Classes/Highscore.h b/Classes/Highscore.h index bc6a8fb..fa2ea71 100755 --- a/Classes/Highscore.h +++ b/Classes/Highscore.h | |||
@@ -17,6 +17,8 @@ | |||
17 | @property (readonly) NSString* name; | 17 | @property (readonly) NSString* name; |
18 | @property (readonly) int score; | 18 | @property (readonly) int score; |
19 | @property (readonly) NSDate* date; | 19 | @property (readonly) NSDate* date; |
20 | + (NSArray*)localHighscoreListForGameMode:(NSString*)gameMode; | ||
21 | + (Highscore*)localHighscoreForGameMode:(NSString*)gameMode; | ||
20 | - (id)initWithName:(NSString*)name score:(int)score date:(NSDate*)date; | 22 | - (id)initWithName:(NSString*)name score:(int)score date:(NSDate*)date; |
21 | 23 | ||
22 | @end | 24 | @end |