project_files/HedgewarsMobile/Classes/otherSrc/HogButtonView.h
author koda
Sat, 19 Jun 2010 00:48:47 +0200
changeset 3522 156c04c6a3d8
parent 3514 59dbd31e9953
permissions -rw-r--r--
add initial stubs for selecting weapons in the ifrontend

//
//  HogButtonView.h
//  HedgewarsMobile
//
//  Created by Vittorio on 20/04/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface HogButtonView : UIButton {
    NSInteger numberOfHogs;
    UIImage *singleHog;
    NSMutableDictionary *ownerDictionary;
}

@property (nonatomic,retain) UIImage *singleHog;
@property (nonatomic) NSInteger numberOfHogs;
@property (nonatomic,retain) NSMutableDictionary *ownerDictionary;

-(void) drawManyHogs:(NSInteger) hogs;
-(void) addOne;

@end