Public Member Functions | Static Public Member Functions | Properties

CCTargetedTouchHandler Class Reference

#import <CCTouchHandler.h>

Inherits CCTouchHandler.

Collaboration diagram for CCTargetedTouchHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDelegate:priority:swallowsTouches:

Static Public Member Functions

(id) + handlerWithDelegate:priority:swallowsTouches:

Properties

BOOL swallowsTouches
NSMutableSet * claimedTouches

Detailed Description

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

Definition at line 72 of file CCTouchHandler.h.


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

Definition at line 74 of file CCTouchHandler.h.

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

whether or not the touches are swallowed

Definition at line 73 of file CCTouchHandler.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

cocos2d for iPhone 0.99.4 API Reference - Generated using Doxygen 1.7.1