equal
deleted
inserted
replaced
6 // Copyright 2010 __MyCompanyName__. All rights reserved. |
6 // Copyright 2010 __MyCompanyName__. All rights reserved. |
7 // |
7 // |
8 |
8 |
9 #import <UIKit/UIKit.h> |
9 #import <UIKit/UIKit.h> |
10 |
10 |
|
11 @protocol WeaponButtonControllerDelegate <NSObject> |
|
12 |
|
13 -(void) buttonPressed:(id) sender; |
|
14 |
|
15 @end |
11 |
16 |
12 @interface WeaponCellView : UITableViewCell { |
17 @interface WeaponCellView : UITableViewCell { |
|
18 id<WeaponButtonControllerDelegate> delegate; |
13 UILabel *weaponName; |
19 UILabel *weaponName; |
14 UIImageView *weaponIcon; |
20 UIImageView *weaponIcon; |
15 |
21 |
16 UIButton *initialQt; |
22 UIButton *initialQt; |
17 UIButton *probability; |
23 UIButton *probability; |
18 UIButton *delay; |
24 UIButton *delay; |
19 UIButton *crateQt; |
25 UIButton *crateQt; |
20 } |
26 } |
|
27 |
|
28 @property (nonatomic,assign) id<WeaponButtonControllerDelegate> delegate; |
21 |
29 |
22 @property (nonatomic,retain) UILabel *weaponName; |
30 @property (nonatomic,retain) UILabel *weaponName; |
23 @property (nonatomic,retain) UIImageView *weaponIcon; |
31 @property (nonatomic,retain) UIImageView *weaponIcon; |
24 |
32 |
25 @property (nonatomic,retain) UIButton *initialQt; |
33 @property (nonatomic,retain) UIButton *initialQt; |