project_files/HedgewarsMobile/Classes/SingleWeaponViewController.h
author koda
Fri, 13 Aug 2010 02:13:18 +0200
changeset 3737 2ba6ac8a114b
parent 3703 12d17c6e8855
child 3782 dc3531e49e4c
permissions -rw-r--r--
reworked the initialization functions, now it should be safe to update and no more need of spinning wheel at first launch adjusted default zoom value polished lobby interface updated ammosets to new 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;

    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