project_files/HedgewarsMobile/Classes/WeaponCellView.h
author koda
Thu, 15 Jul 2010 01:18:51 +0200
changeset 3642 fb39fecca350
parent 3624 304c6d32383a
child 3643 858b20bafb6e
permissions -rw-r--r--
support for static map added to iFrontend
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     1
//
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     2
//  WeaponCellView.h
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     3
//  Hedgewars
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     4
//
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     5
//  Created by Vittorio on 03/07/10.
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     7
//
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     8
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    10
3624
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    11
@protocol WeaponButtonControllerDelegate <NSObject>
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    12
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    13
-(void) buttonPressed:(id) sender;
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    14
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    15
@end
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    16
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    17
@interface WeaponCellView : UITableViewCell {
3624
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    18
    id<WeaponButtonControllerDelegate> delegate;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    19
    UILabel *weaponName;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    20
    UIImageView *weaponIcon;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    21
    
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    22
    UIButton *initialQt;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    23
    UIButton *probability;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    24
    UIButton *delay;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    25
    UIButton *crateQt;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    26
}
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    27
3624
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    28
@property (nonatomic,assign) id<WeaponButtonControllerDelegate> delegate;
304c6d32383a button to open ammomenu
koda
parents: 3621
diff changeset
    29
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    30
@property (nonatomic,retain) UILabel *weaponName;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    31
@property (nonatomic,retain) UIImageView *weaponIcon;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    32
    
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    33
@property (nonatomic,retain) UIButton *initialQt;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    34
@property (nonatomic,retain) UIButton *probability;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    35
@property (nonatomic,retain) UIButton *delay;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    36
@property (nonatomic,retain) UIButton *crateQt;
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    37
a8ddf681ba7d initial support for customizing weaponset
koda
parents:
diff changeset
    38
@end