project_files/HedgewarsMobile/Classes/SingleWeaponViewController.h
author koda
Sat, 28 Aug 2010 05:35:02 +0200
changeset 3782 dc3531e49e4c
parent 3703 12d17c6e8855
child 3829 81db3c85784b
permissions -rw-r--r--
add a description field for schemes and weapons

//
//  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;
    NSString *description;

    UIImage *ammoStoreImage;
    NSArray *ammoNames;

    char *quantity;
    char *probability;
    char *delay;
    char *crateness;
}

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

-(void) saveAmmos;

@end