project_files/HedgewarsMobile/Classes/SingleWeaponViewController.h
author koda
Tue, 20 Jul 2010 03:14:43 +0200
changeset 3659 f8d5ac50e307
parent 3624 304c6d32383a
child 3703 12d17c6e8855
permissions -rw-r--r--
half reworking of the settings page with delegation some graphical enhancements, leaks and fixes

//
//  SingleWeaponViewController.h
//  Hedgewars
//
//  Created by Vittorio on 19/06/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EditableCellView.h"
#import "WeaponCellView.h"

@interface SingleWeaponViewController : UITableViewController <EditableCellViewDelegate, WeaponButtonControllerDelegate> {
    NSString *weaponName;
    
    UIImage *ammoStoreImage;
    NSArray *ammoNames;
    
    char *quantity;
    char *probability;
    char *delay;
    char *crateness;
}

@property (nonatomic,retain) NSString *weaponName;
@property (nonatomic,retain) UIImage *ammoStoreImage;
@property (nonatomic,retain) NSArray *ammoNames;

-(void) saveAmmos;

@end