project_files/HedgewarsMobile/Classes/SingleWeaponViewController.h
author legutus
Mon, 30 Aug 2010 15:24:49 +0200
changeset 3786 0907b0fd5714
parent 3782 dc3531e49e4c
child 3829 81db3c85784b
permissions -rw-r--r--
Improves room list with filter for state/rules/weapons and general search

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