cocoaTouch/GameConfigViewController.h
author koda
Sun, 25 Apr 2010 02:30:42 +0000
changeset 3365 37ac593e9027
parent 3364 e5403e2bf02c
child 3374 0d522416d97f
permissions -rw-r--r--
wow all these files only for land preview and seed generation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3356
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
     1
//
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
     2
//  GameConfigViewController.h
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
     3
//  HedgewarsMobile
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
     4
//
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
     5
//  Created by Vittorio on 18/04/10.
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
     7
//
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
     8
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    10
3361
cfc6cd502f85 buttons for number of hogs in game config
koda
parents: 3356
diff changeset
    11
@class TeamConfigViewController;
3365
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents: 3364
diff changeset
    12
@class MapConfigViewController;
3356
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    13
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    14
@interface GameConfigViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    15
    UITableView *availableTeamsTableView;
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    16
    UIButton *mapButton;
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    17
    UIButton *randomButton;
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    18
    UIButton *weaponsButton;
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    19
    UIButton *schemesButton;
3361
cfc6cd502f85 buttons for number of hogs in game config
koda
parents: 3356
diff changeset
    20
    UIBarButtonItem *startButton;
cfc6cd502f85 buttons for number of hogs in game config
koda
parents: 3356
diff changeset
    21
    
cfc6cd502f85 buttons for number of hogs in game config
koda
parents: 3356
diff changeset
    22
    UIViewController *activeController;
3365
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents: 3364
diff changeset
    23
    MapConfigViewController *mapConfigViewController;
3361
cfc6cd502f85 buttons for number of hogs in game config
koda
parents: 3356
diff changeset
    24
    TeamConfigViewController *teamConfigViewController;
3356
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    25
}
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    26
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    27
@property (nonatomic,retain) IBOutlet UITableView *availableTeamsTableView;
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    28
@property (nonatomic,retain) IBOutlet UIButton *weaponsButton;
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    29
@property (nonatomic,retain) IBOutlet UIButton *schemesButton;
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    30
@property (nonatomic,retain) IBOutlet UIButton *mapButton;
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    31
@property (nonatomic,retain) IBOutlet UIButton *randomButton;
3361
cfc6cd502f85 buttons for number of hogs in game config
koda
parents: 3356
diff changeset
    32
@property (nonatomic,retain) IBOutlet UIBarButtonItem *startButton;
3356
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    33
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    34
-(IBAction) buttonPressed:(id) sender;
3365
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents: 3364
diff changeset
    35
-(IBAction) segmentPressed:(id) sender;
3364
e5403e2bf02c no more hardcoded teams, team selection is real \o/
koda
parents: 3361
diff changeset
    36
-(void) startGame;
3365
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents: 3364
diff changeset
    37
3356
3ae3fccb439e add missing controller stubs
koda
parents:
diff changeset
    38
@end