![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCTouchHandler.h>
Public Member Functions | |
(id) | - initWithDelegate:priority:swallowsTouches: |
Static Public Member Functions | |
(id) | + handlerWithDelegate:priority:swallowsTouches: |
Protected Attributes | |
BOOL | _swallowsTouches |
NSMutableSet * | _claimedTouches |
Properties | |
BOOL | swallowsTouches |
NSMutableSet * | claimedTouches |
CCTargetedTouchHandler Object than contains the claimed touches and if it swallows touches. Used internally by TouchDispatcher
+ (id) handlerWithDelegate: | (id) | aDelegate | |
priority: | (int) | priority | |
swallowsTouches: | (BOOL) | swallowsTouches | |
allocates a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not
- (id) initWithDelegate: | (id) | aDelegate | |
priority: | (int) | priority | |
swallowsTouches: | (BOOL) | swallowsTouches | |
initializes a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not
- (NSMutableSet*) claimedTouches [read, assign] |
MutableSet that contains the claimed touches
- (BOOL) swallowsTouches [read, write, assign] |
whether or not the touches are swallowed