project_files/HedgewarsMobile/Classes/WeaponCellView.h
author koda
Tue, 06 Jul 2010 03:33:01 +0200
changeset 3625 9f1d79e01a60
parent 3624 304c6d32383a
child 3643 858b20bafb6e
permissions -rw-r--r--
icons \o/ fixed orientation and launch image issues prevent a crash when loading lobby multiple times

//
//  WeaponCellView.h
//  Hedgewars
//
//  Created by Vittorio on 03/07/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol WeaponButtonControllerDelegate <NSObject>

-(void) buttonPressed:(id) sender;

@end

@interface WeaponCellView : UITableViewCell {
    id<WeaponButtonControllerDelegate> delegate;
    UILabel *weaponName;
    UIImageView *weaponIcon;
    
    UIButton *initialQt;
    UIButton *probability;
    UIButton *delay;
    UIButton *crateQt;
}

@property (nonatomic,assign) id<WeaponButtonControllerDelegate> delegate;

@property (nonatomic,retain) UILabel *weaponName;
@property (nonatomic,retain) UIImageView *weaponIcon;
    
@property (nonatomic,retain) UIButton *initialQt;
@property (nonatomic,retain) UIButton *probability;
@property (nonatomic,retain) UIButton *delay;
@property (nonatomic,retain) UIButton *crateQt;

@end