This is HiScore.h in view mode; [Download] [Up]
#import <appkit/appkit.h>
#import <misckit/misckit.h>
typedef struct _ascore
{
MiscString *playerName;
int level, score;
} ascore;
@interface HiScore:MiscSortedStorage
{
id scoreFile;
int maxScores;
}
- reset:sender;
- load:sender;
- save:sender;
- setMaxScores:(int) maxnumberofscores;
- (BOOL)newScoreForPlayer:(MiscString *) theName Of:(int)thescore At:(int)thelevel;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.