cocoaTouch/GameConfigViewController.h
author koda
Mon, 26 Apr 2010 01:55:26 +0000
changeset 3369 c7289e42f0ee
parent 3365 37ac593e9027
child 3374 0d522416d97f
permissions -rw-r--r--
add other controls for map preview, also fix a bug in digest

//
//  GameConfigViewController.h
//  HedgewarsMobile
//
//  Created by Vittorio on 18/04/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class TeamConfigViewController;
@class MapConfigViewController;

@interface GameConfigViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
    UITableView *availableTeamsTableView;
    UIButton *mapButton;
    UIButton *randomButton;
    UIButton *weaponsButton;
    UIButton *schemesButton;
    UIBarButtonItem *startButton;
    
    UIViewController *activeController;
    MapConfigViewController *mapConfigViewController;
    TeamConfigViewController *teamConfigViewController;
}

@property (nonatomic,retain) IBOutlet UITableView *availableTeamsTableView;
@property (nonatomic,retain) IBOutlet UIButton *weaponsButton;
@property (nonatomic,retain) IBOutlet UIButton *schemesButton;
@property (nonatomic,retain) IBOutlet UIButton *mapButton;
@property (nonatomic,retain) IBOutlet UIButton *randomButton;
@property (nonatomic,retain) IBOutlet UIBarButtonItem *startButton;

-(IBAction) buttonPressed:(id) sender;
-(IBAction) segmentPressed:(id) sender;
-(void) startGame;

@end