CCTouchEventDelegate Protocol Reference
| Conforms to | NSObject |
| Declared in | CCEventDispatcher.h |
Tasks
-
– ccTouchesBeganWithEvent:called when the “touchesBegan” event is received. Return YES to avoid propagating the event to other delegates.
-
– ccTouchesMovedWithEvent:called when the “touchesMoved” event is received. Return YES to avoid propagating the event to other delegates.
-
– ccTouchesEndedWithEvent:called when the “touchesEnded” event is received. Return YES to avoid propagating the event to other delegates.
-
– ccTouchesCancelledWithEvent:called when the “touchesCancelled” event is received. Return YES to avoid propagating the event to other delegates.
Instance Methods
ccTouchesBeganWithEvent:
called when the “touchesBegan” event is received. Return YES to avoid propagating the event to other delegates.
- (BOOL)ccTouchesBeganWithEvent:(NSEvent *)eventDeclared In
CCEventDispatcher.hccTouchesCancelledWithEvent:
called when the “touchesCancelled” event is received. Return YES to avoid propagating the event to other delegates.
- (BOOL)ccTouchesCancelledWithEvent:(NSEvent *)eventDeclared In
CCEventDispatcher.h