CCGestureEventDelegate Protocol Reference
| Conforms to | NSObject |
| Declared in | CCEventDispatcher.h |
Overview
CCGestureEventDelegate protocol. Implement it in your node to receive any of gesture events
Tasks
-
– ccBeginGestureWithEvent:called when the “beginGesture” event is received. Return YES to avoid propagating the event to other delegates.
-
– ccMagnifyWithEvent:called when the “magnify” gesture event is received. Return YES to avoid propagating the event to other delegates.
-
– ccSmartMagnifyWithEvent:called when the “smartMagnify” gesture event is received. Return YES to avoid propagating the event to other delegates.
-
– ccRotateWithEvent:called when the “rotate” gesture event is received. Return YES to avoid propagating the event to other delegates.
-
– ccSwipeWithEvent:called when the “swipe” gesture event is received. Return YES to avoid propagating the event to other delegates.
-
– ccEndGestureWithEvent:called when the “endGesture” event is received. Return YES to avoid propagating the event to other delegates.
Instance Methods
ccBeginGestureWithEvent:
called when the “beginGesture” event is received. Return YES to avoid propagating the event to other delegates.
- (BOOL)ccBeginGestureWithEvent:(NSEvent *)eventDeclared In
CCEventDispatcher.hccEndGestureWithEvent:
called when the “endGesture” event is received. Return YES to avoid propagating the event to other delegates.
- (BOOL)ccEndGestureWithEvent:(NSEvent *)eventDeclared In
CCEventDispatcher.hccMagnifyWithEvent:
called when the “magnify” gesture event is received. Return YES to avoid propagating the event to other delegates.
- (BOOL)ccMagnifyWithEvent:(NSEvent *)eventDeclared In
CCEventDispatcher.hccRotateWithEvent:
called when the “rotate” gesture event is received. Return YES to avoid propagating the event to other delegates.
- (BOOL)ccRotateWithEvent:(NSEvent *)eventDeclared In
CCEventDispatcher.h