20 #import <UIKit/UIKit.h> |
20 #import <UIKit/UIKit.h> |
21 |
21 |
22 |
22 |
23 @protocol WeaponButtonControllerDelegate <NSObject> |
23 @protocol WeaponButtonControllerDelegate <NSObject> |
24 |
24 |
25 -(void) updateValues:(NSArray *)withArray atIndex:(NSInteger) index; |
25 - (void)updateValues:(NSArray *)withArray atIndex:(NSInteger)index; |
26 |
26 |
27 @end |
27 @end |
28 |
28 |
29 @interface WeaponCellView : UITableViewCell { |
29 @interface WeaponCellView : UITableViewCell { |
30 id<WeaponButtonControllerDelegate> delegate; |
30 id<WeaponButtonControllerDelegate> __weak delegate; |
31 UILabel *weaponName; |
31 UILabel *weaponName; |
32 UIImageView *weaponIcon; |
32 UIImageView *weaponIcon; |
33 |
33 |
34 UISlider *initialSli; |
34 UISlider *initialSli; |
35 UISlider *probabilitySli; |
35 UISlider *probabilitySli; |
48 UILabel *crateLab; |
48 UILabel *crateLab; |
49 |
49 |
50 UILabel *helpLabel; |
50 UILabel *helpLabel; |
51 } |
51 } |
52 |
52 |
53 @property (nonatomic,assign) id<WeaponButtonControllerDelegate> delegate; |
53 @property (nonatomic, weak) id<WeaponButtonControllerDelegate> delegate; |
54 |
54 |
55 @property (nonatomic,retain) UILabel *weaponName; |
55 @property (nonatomic, strong) UILabel *weaponName; |
56 @property (nonatomic,retain) UIImageView *weaponIcon; |
56 @property (nonatomic, strong) UIImageView *weaponIcon; |
57 |
57 |
58 @property (nonatomic,retain) UISlider *initialSli; |
58 @property (nonatomic, strong) UISlider *initialSli; |
59 @property (nonatomic,retain) UISlider *probabilitySli; |
59 @property (nonatomic, strong) UISlider *probabilitySli; |
60 @property (nonatomic,retain) UISlider *delaySli; |
60 @property (nonatomic, strong) UISlider *delaySli; |
61 @property (nonatomic,retain) UISlider *crateSli; |
61 @property (nonatomic, strong) UISlider *crateSli; |
62 |
62 |
63 @property (nonatomic,retain) UIImageView *initialImg; |
63 @property (nonatomic, strong) UIImageView *initialImg; |
64 @property (nonatomic,retain) UIImageView *probabilityImg; |
64 @property (nonatomic, strong) UIImageView *probabilityImg; |
65 @property (nonatomic,retain) UIImageView *delayImg; |
65 @property (nonatomic, strong) UIImageView *delayImg; |
66 @property (nonatomic,retain) UIImageView *crateImg; |
66 @property (nonatomic, strong) UIImageView *crateImg; |
67 |
67 |
68 @property (nonatomic,retain) UILabel *initialLab; |
68 @property (nonatomic, strong) UILabel *initialLab; |
69 @property (nonatomic,retain) UILabel *probabilityLab; |
69 @property (nonatomic, strong) UILabel *probabilityLab; |
70 @property (nonatomic,retain) UILabel *delayLab; |
70 @property (nonatomic, strong) UILabel *delayLab; |
71 @property (nonatomic,retain) UILabel *crateLab; |
71 @property (nonatomic, strong) UILabel *crateLab; |
72 |
72 |
73 @property (nonatomic,retain) UILabel *helpLabel; |
73 @property (nonatomic, strong) UILabel *helpLabel; |
74 |
74 |
75 @end |
75 @end |