3621
|
1 |
//
|
|
2 |
// WeaponCellView.h
|
|
3 |
// Hedgewars
|
|
4 |
//
|
|
5 |
// Created by Vittorio on 03/07/10.
|
|
6 |
// Copyright 2010 __MyCompanyName__. All rights reserved.
|
|
7 |
//
|
|
8 |
|
|
9 |
#import <UIKit/UIKit.h>
|
|
10 |
|
3624
|
11 |
@protocol WeaponButtonControllerDelegate <NSObject>
|
|
12 |
|
|
13 |
-(void) buttonPressed:(id) sender;
|
|
14 |
|
|
15 |
@end
|
3621
|
16 |
|
|
17 |
@interface WeaponCellView : UITableViewCell {
|
3624
|
18 |
id<WeaponButtonControllerDelegate> delegate;
|
3621
|
19 |
UILabel *weaponName;
|
|
20 |
UIImageView *weaponIcon;
|
|
21 |
|
|
22 |
UIButton *initialQt;
|
|
23 |
UIButton *probability;
|
|
24 |
UIButton *delay;
|
|
25 |
UIButton *crateQt;
|
|
26 |
}
|
|
27 |
|
3624
|
28 |
@property (nonatomic,assign) id<WeaponButtonControllerDelegate> delegate;
|
|
29 |
|
3621
|
30 |
@property (nonatomic,retain) UILabel *weaponName;
|
|
31 |
@property (nonatomic,retain) UIImageView *weaponIcon;
|
|
32 |
|
|
33 |
@property (nonatomic,retain) UIButton *initialQt;
|
|
34 |
@property (nonatomic,retain) UIButton *probability;
|
|
35 |
@property (nonatomic,retain) UIButton *delay;
|
|
36 |
@property (nonatomic,retain) UIButton *crateQt;
|
|
37 |
|
|
38 |
@end
|