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 |
10 |
|
11 @class TeamConfigViewController; |
11 |
12 |
12 @interface GameConfigViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> { |
13 @interface GameConfigViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> { |
13 UITableView *availableTeamsTableView; |
14 UITableView *availableTeamsTableView; |
14 UIButton *backButton; |
|
15 UIButton *mapButton; |
15 UIButton *mapButton; |
16 UIButton *randomButton; |
16 UIButton *randomButton; |
17 UIButton *weaponsButton; |
17 UIButton *weaponsButton; |
18 UIButton *schemesButton; |
18 UIButton *schemesButton; |
19 UIButton *startButton; |
19 UIBarButtonItem *startButton; |
|
20 |
|
21 UIViewController *activeController; |
|
22 TeamConfigViewController *teamConfigViewController; |
20 } |
23 } |
21 |
24 |
22 @property (nonatomic,retain) IBOutlet UITableView *availableTeamsTableView; |
25 @property (nonatomic,retain) IBOutlet UITableView *availableTeamsTableView; |
23 @property (nonatomic,retain) IBOutlet UIButton *backButton; |
|
24 @property (nonatomic,retain) IBOutlet UIButton *weaponsButton; |
26 @property (nonatomic,retain) IBOutlet UIButton *weaponsButton; |
25 @property (nonatomic,retain) IBOutlet UIButton *schemesButton; |
27 @property (nonatomic,retain) IBOutlet UIButton *schemesButton; |
26 @property (nonatomic,retain) IBOutlet UIButton *mapButton; |
28 @property (nonatomic,retain) IBOutlet UIButton *mapButton; |
27 @property (nonatomic,retain) IBOutlet UIButton *randomButton; |
29 @property (nonatomic,retain) IBOutlet UIButton *randomButton; |
28 @property (nonatomic,retain) IBOutlet UIButton *startButton; |
30 @property (nonatomic,retain) IBOutlet UIBarButtonItem *startButton; |
29 |
31 |
30 -(IBAction) buttonPressed:(id) sender; |
32 -(IBAction) buttonPressed:(id) sender; |
31 |
33 |
32 @end |
34 @end |