cocoaTouch/otherSrc/HogButtonView.h
changeset 3364 e5403e2bf02c
parent 3361 cfc6cd502f85
equal deleted inserted replaced
3363:bcd6d76db4f7 3364:e5403e2bf02c
    10 
    10 
    11 
    11 
    12 @interface HogButtonView : UIButton {
    12 @interface HogButtonView : UIButton {
    13     NSInteger numberOfHogs;
    13     NSInteger numberOfHogs;
    14     UIImage *singleHog;
    14     UIImage *singleHog;
       
    15     NSMutableDictionary *ownerDictionary;
    15 }
    16 }
    16 
    17 
    17 @property (nonatomic,retain) UIImage *singleHog;
    18 @property (nonatomic,retain) UIImage *singleHog;
       
    19 @property (nonatomic) NSInteger numberOfHogs;
       
    20 @property (nonatomic,retain) NSMutableDictionary *ownerDictionary;
    18 
    21 
    19 -(void) drawManyHogs;
    22 -(void) drawManyHogs:(NSInteger) hogs;
    20 
    23 -(void) addOne;
    21 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
       
    22 
    24 
    23 @end
    25 @end