cocoaTouch/SingleTeamViewController.h
author sheepluva
Tue, 04 May 2010 02:46:23 +0000
changeset 3416 310fda7c1dc5
parent 3374 0d522416d97f
permissions -rw-r--r--
fix segfault on destroyed portal

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

#import <UIKit/UIKit.h>

@class HogHatViewController;
@class GravesViewController;
@class VoicesViewController;
@class FortsViewController;
@class FlagsViewController;
@class LevelViewController;
@interface SingleTeamViewController : UITableViewController <UITextFieldDelegate> {
    NSMutableDictionary *teamDictionary;
    
    UITextField *textFieldBeingEdited;
    NSString *teamName;
    UIImage *normalHogSprite;
    
    NSArray *secondaryItems;
    BOOL isWriteNeeded;
    
    HogHatViewController *hogHatViewController;
    GravesViewController *gravesViewController;
    VoicesViewController *voicesViewController;
    FortsViewController *fortsViewController;
    FlagsViewController *flagsViewController;
    LevelViewController *levelViewController;
}

@property (nonatomic,retain) NSMutableDictionary *teamDictionary;
@property (nonatomic,retain) UITextField *textFieldBeingEdited;
@property (nonatomic,retain) NSString *teamName;
@property (nonatomic,retain) UIImage *normalHogSprite;
@property (nonatomic,retain) NSArray *secondaryItems;

-(void) writeFile;
-(void) setWriteNeeded;

@end