summary refs log tree commit diff stats
path: root/Classes/Highscore.h
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-08-24 11:53:40 -0400
committerStarla Insigna <starla4444@gmail.com>2011-08-24 11:53:40 -0400
commitd8f00310e486aed1ab289a0f816acec571193c32 (patch)
tree5f2ce4b1a1187035514bcd4e3c8b0b0f17b7c12c /Classes/Highscore.h
parent21294a54c49ab67e04898aac3482035bab6c79ae (diff)
downloadcartcollect-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-xClasses/Highscore.h2
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