CCTouchEventDelegate protocol.
More...
#import <CCEventDispatcher.h>
CCTouchEventDelegate protocol.
Implement it in your node to receive any of touch events
- (BOOL) ccTouchesBeganWithEvent: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "touchesBegan" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccTouchesBeganWithEvent: |
|
var |
event |
|
|
optional |
called when the "touchesBegan" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccTouchesBeganWithEvent: |
|
local |
event |
|
|
optional |
called when the "touchesBegan" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL)
ccTouchesCancelledWithEvent: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "touchesCancelled" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL)
ccTouchesCancelledWithEvent: |
|
var |
event |
|
|
optional |
called when the "touchesCancelled" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL)
ccTouchesCancelledWithEvent: |
|
local |
event |
|
|
optional |
called when the "touchesCancelled" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccTouchesEndedWithEvent: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "touchesEnded" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccTouchesEndedWithEvent: |
|
var |
event |
|
|
optional |
called when the "touchesEnded" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccTouchesEndedWithEvent: |
|
local |
event |
|
|
optional |
called when the "touchesEnded" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccTouchesMovedWithEvent: |
|
(NSEvent *) |
event |
|
|
optional |
called when the "touchesMoved" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccTouchesMovedWithEvent: |
|
var |
event |
|
|
optional |
called when the "touchesMoved" event is received.
Return YES to avoid propagating the event to other delegates.
- (BOOL) ccTouchesMovedWithEvent: |
|
local |
event |
|
|
optional |
called when the "touchesMoved" event is received.
Return YES to avoid propagating the event to other delegates.
The documentation for this protocol was generated from the following file: