summary refs log tree commit diff stats
path: root/Classes/GameModeSelection.h
blob: bdb38fbababce28d2d4deae7845253d9b033dfb5 (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
25
26
27
28
29
30
//
//  GameModeSelection.h
//  Cartographic
//
//  Created by Starla Insigna on 8/18/11.
//  Copyright 2011 Four Island. All rights reserved.
//

#import "cocos2d.h"
#import "GameModeSelectionDelegate.h"

@interface GameModeSelection : CCMenuItem {
    NSString* name;
    NSString* location;
    BOOL unlocked;
    NSString* unlockCondition;
    id<GameModeSelectionDelegate> delegate;
}

@property (readonly) NSString* name;
@property (readonly) NSString* location;
@property (readonly) BOOL unlocked;
@property (nonatomic,retain) id<GameModeSelectionDelegate> delegate;
+ (id)selectionWithName:(NSString*)name location:(NSString*)location filename:(NSString*)filename unlocked:(BOOL)unlocked;
+ (id)selectionWithName:(NSString *)name location:(NSString *)location filename:(NSString *)filename unlockCondition:(NSString*)unlockCondition;
- (id)initWithName:(NSString*)name location:(NSString*)location filename:(NSString*)filename unlocked:(BOOL)unlocked;
- (id)initWithName:(NSString *)name location:(NSString *)location filename:(NSString *)filename unlockCondition:(NSString*)unlockCondition;
- (void)buttonTapped;

@end