15 @interface CCButton : CCSprite <CCTargetedTouchDelegate>
32 @property (nonatomic, assign) id<NSObject> target;
36 @property (nonatomic, assign)
SEL selector;
46 +(id)spriteWithFile:(NSString *)filename withPressedFile:(NSString*)pressedFilename target:(
id)object function:(
SEL)callback;
57 +(id)spriteWithFile:(NSString *)filename withPressedFile:(NSString*)pressedFilename touchAreaScale:(
float)scale target:(
id)object function:(
SEL)callback;
69 +(id)spriteWithFile:(NSString *)filename withPressedFile:(NSString*)pressedFilename touchAreaScale:(
float)scale priority:(
int)priority target:(
id)object function:(
SEL)callback;