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 *)event

Declared In

CCEventDispatcher.h

ccEndGestureWithEvent:

called when the “endGesture” event is received. Return YES to avoid propagating the event to other delegates.

- (BOOL)ccEndGestureWithEvent:(NSEvent *)event

Declared In

CCEventDispatcher.h

ccMagnifyWithEvent:

called when the “magnify” gesture event is received. Return YES to avoid propagating the event to other delegates.

- (BOOL)ccMagnifyWithEvent:(NSEvent *)event

Declared In

CCEventDispatcher.h

ccRotateWithEvent:

called when the “rotate” gesture event is received. Return YES to avoid propagating the event to other delegates.

- (BOOL)ccRotateWithEvent:(NSEvent *)event

Declared In

CCEventDispatcher.h

ccSmartMagnifyWithEvent:

called when the “smartMagnify” gesture event is received. Return YES to avoid propagating the event to other delegates.

- (BOOL)ccSmartMagnifyWithEvent:(NSEvent *)event

Declared In

CCEventDispatcher.h

ccSwipeWithEvent:

called when the “swipe” gesture event is received. Return YES to avoid propagating the event to other delegates.

- (BOOL)ccSwipeWithEvent:(NSEvent *)event

Declared In

CCEventDispatcher.h