Inherits from CCTouchHandler : NSObject
Declared in CCTouchHandler.h

Overview

CCTargetedTouchHandler Object than contains the claimed touches and if it swallows touches. Used internally by TouchDispatcher

Tasks

Properties

claimedTouches

MutableSet that contains the claimed touches

@property (nonatomic, readonly) NSMutableSet *claimedTouches

Declared In

CCTouchHandler.h

swallowsTouches

whether or not the touches are swallowed

@property (nonatomic, readwrite) BOOL swallowsTouches

Declared In

CCTouchHandler.h

Class Methods

handlerWithDelegate:priority:swallowsTouches:

allocates a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not

+ (id)handlerWithDelegate:(id)aDelegate priority:(int)priority swallowsTouches:(BOOL)swallowsTouches

Declared In

CCTouchHandler.h

Instance Methods

initWithDelegate:priority:swallowsTouches:

initializes 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

Declared In

CCTouchHandler.h