blob: fa2ea71f14f6fddfffcc14f06134f25b80ae1d8c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
//
// Highscore.h
// Cart Collect
//
// Created by iD Student Account on 7/20/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Highscore : NSObject {
NSString* name;
int score;
NSDate* date;
}
@property (readonly) NSString* name;
@property (readonly) int score;
@property (readonly) NSDate* date;
+ (NSArray*)localHighscoreListForGameMode:(NSString*)gameMode;
+ (Highscore*)localHighscoreForGameMode:(NSString*)gameMode;
- (id)initWithName:(NSString*)name score:(int)score date:(NSDate*)date;
@end
|