5 // Created by Vittorio on 02/04/10. |
5 // Created by Vittorio on 02/04/10. |
6 // Copyright 2010 __MyCompanyName__. All rights reserved. |
6 // Copyright 2010 __MyCompanyName__. All rights reserved. |
7 // |
7 // |
8 |
8 |
9 #import <UIKit/UIKit.h> |
9 #import <UIKit/UIKit.h> |
|
10 #import "EditableCellView.h" |
10 |
11 |
11 @class HogHatViewController; |
12 @class HogHatViewController; |
12 @class GravesViewController; |
13 @class GravesViewController; |
13 @class VoicesViewController; |
14 @class VoicesViewController; |
14 @class FortsViewController; |
15 @class FortsViewController; |
15 @class FlagsViewController; |
16 @class FlagsViewController; |
16 @class LevelViewController; |
17 @class LevelViewController; |
17 @interface SingleTeamViewController : UITableViewController <UITextFieldDelegate> { |
18 |
|
19 @interface SingleTeamViewController : UITableViewController <EditableCellViewDelegate> { |
18 NSMutableDictionary *teamDictionary; |
20 NSMutableDictionary *teamDictionary; |
19 |
21 |
20 UITextField *textFieldBeingEdited; |
|
21 NSString *teamName; |
22 NSString *teamName; |
22 UIImage *normalHogSprite; |
23 UIImage *normalHogSprite; |
23 |
24 |
24 NSArray *secondaryItems; |
25 NSArray *secondaryItems; |
25 BOOL isWriteNeeded; |
26 BOOL isWriteNeeded; |
31 FlagsViewController *flagsViewController; |
32 FlagsViewController *flagsViewController; |
32 LevelViewController *levelViewController; |
33 LevelViewController *levelViewController; |
33 } |
34 } |
34 |
35 |
35 @property (nonatomic,retain) NSMutableDictionary *teamDictionary; |
36 @property (nonatomic,retain) NSMutableDictionary *teamDictionary; |
36 @property (nonatomic,retain) UITextField *textFieldBeingEdited; |
|
37 @property (nonatomic,retain) NSString *teamName; |
37 @property (nonatomic,retain) NSString *teamName; |
38 @property (nonatomic,retain) UIImage *normalHogSprite; |
38 @property (nonatomic,retain) UIImage *normalHogSprite; |
39 @property (nonatomic,retain) NSArray *secondaryItems; |
39 @property (nonatomic,retain) NSArray *secondaryItems; |
40 |
40 |
41 -(void) writeFile; |
41 -(void) writeFile; |