Inherits from CCNode : NSObject
Conforms to CCStandardTouchDelegate
CCTargetedTouchDelegate
Declared in TouchableNode.h

Overview

A node that can respond to touches. This code was extracted from CCLayer.

Tasks

Properties

isTouchEnabled

whether or not it will receive Touch events. You can enable / disable touch events with this property. Only the touches of this node will be affected. This “method” is not propagated to it’s children.

@property (nonatomic, assign) BOOL isTouchEnabled

Availability

Declared In

TouchableNode.h

swallowTouches

targetedTouches

touchPriority

Priority position in which this node will be handled (lower = sooner)

@property (nonatomic, readwrite, assign) int touchPriority

Declared In

TouchableNode.h

Instance Methods

touch:hitsNode:

touchHitsSelf: