cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCTargetedTouchHandler Class Reference

#import <CCTouchHandler.h>

+ Inheritance diagram for CCTargetedTouchHandler:
+ Collaboration diagram for CCTargetedTouchHandler:

List of all members.

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

Detailed Description

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


Member Function Documentation

+ (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


Property Documentation

- (NSMutableSet*) claimedTouches [read, assign]

MutableSet that contains the claimed touches

- (BOOL) swallowsTouches [read, write, assign]

whether or not the touches are swallowed


The documentation for this class was generated from the following file: