cocoaTouch/otherSrc/HogButtonView.h
author nemo
Fri, 14 May 2010 16:02:27 +0000
changeset 3460 d957d5f7b58d
parent 3364 e5403e2bf02c
permissions -rw-r--r--
sheepluva adds back non-vgt health tag due to desyncs. we should still see about solving the desync though.

//
//  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