cocoaTouch/GameConfigViewController.h
author smxx
Sun, 25 Apr 2010 18:38:08 +0000
changeset 3368 791fa4664209
parent 3365 37ac593e9027
child 3374 0d522416d97f
permissions -rw-r--r--
Engine: * Added backward compatibility to Lua's SetAmmo (now accepts 4 or 5 parameters)

//
//  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