project_files/HedgewarsMobile/Classes/otherSrc/HogButtonView.h
changeset 3546 ccf4854df294
parent 3545 b07ee704f35d
child 3547 02875b1145b7
equal deleted inserted replaced
3545:b07ee704f35d 3546:ccf4854df294
     1 //
       
     2 //  HogButtonView.h
       
     3 //  HedgewarsMobile
       
     4 //
       
     5 //  Created by Vittorio on 20/04/10.
       
     6 //  Copyright 2010 __MyCompanyName__. All rights reserved.
       
     7 //
       
     8 
       
     9 #import <UIKit/UIKit.h>
       
    10 
       
    11 
       
    12 @interface HogButtonView : UIButton {
       
    13     NSInteger numberOfHogs;
       
    14     UIImage *singleHog;
       
    15     NSMutableDictionary *ownerDictionary;
       
    16 }
       
    17 
       
    18 @property (nonatomic,retain) UIImage *singleHog;
       
    19 @property (nonatomic) NSInteger numberOfHogs;
       
    20 @property (nonatomic,retain) NSMutableDictionary *ownerDictionary;
       
    21 
       
    22 -(void) drawManyHogs:(NSInteger) hogs;
       
    23 -(void) addOne;
       
    24 
       
    25 @end