diff options
Diffstat (limited to 'Classes/GameModeSelection.h')
-rw-r--r-- | Classes/GameModeSelection.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Classes/GameModeSelection.h b/Classes/GameModeSelection.h index f6aaeff..f69ea37 100644 --- a/Classes/GameModeSelection.h +++ b/Classes/GameModeSelection.h | |||
@@ -7,17 +7,23 @@ | |||
7 | // | 7 | // |
8 | 8 | ||
9 | #import "cocos2d.h" | 9 | #import "cocos2d.h" |
10 | #import "GameModeSelectionDelegate.h" | ||
10 | 11 | ||
11 | @interface GameModeSelection : CCNode { | 12 | @interface GameModeSelection : CCMenuItem { |
12 | NSString* name; | 13 | NSString* name; |
13 | NSString* location; | 14 | NSString* location; |
14 | BOOL unlocked; | 15 | BOOL unlocked; |
15 | NSString* unlockCondition; | 16 | NSString* unlockCondition; |
17 | id<GameModeSelectionDelegate> delegate; | ||
16 | } | 18 | } |
17 | 19 | ||
18 | @property (readonly) NSString* name; | 20 | @property (readonly) NSString* name; |
19 | @property (readonly) NSString* location; | 21 | @property (readonly) NSString* location; |
20 | @property (readonly) BOOL unlocked; | 22 | @property (readonly) BOOL unlocked; |
23 | @property (nonatomic,retain) id<GameModeSelectionDelegate> delegate; | ||
24 | + (id)selectionWithName:(NSString*)name location:(NSString*)location filename:(NSString*)filename unlocked:(BOOL)unlocked; | ||
25 | + (id)selectionWithName:(NSString *)name location:(NSString *)location filename:(NSString *)filename highscore:(int)highscore; | ||
26 | + (id)selectionWithName:(NSString *)name location:(NSString *)location filename:(NSString *)filename unlockCondition:(NSString*)unlockCondition; | ||
21 | - (id)initWithName:(NSString*)name location:(NSString*)location filename:(NSString*)filename unlocked:(BOOL)unlocked; | 27 | - (id)initWithName:(NSString*)name location:(NSString*)location filename:(NSString*)filename unlocked:(BOOL)unlocked; |
22 | - (id)initWithName:(NSString *)name location:(NSString *)location filename:(NSString *)filename highscore:(int)highscore; | 28 | - (id)initWithName:(NSString *)name location:(NSString *)location filename:(NSString *)filename highscore:(int)highscore; |
23 | - (id)initWithName:(NSString *)name location:(NSString *)location filename:(NSString *)filename unlockCondition:(NSString*)unlockCondition; | 29 | - (id)initWithName:(NSString *)name location:(NSString *)location filename:(NSString *)filename unlockCondition:(NSString*)unlockCondition; |