|
cocos2d-mac
1.0.1
Improved Cocos2D API Reference (Mac OS X version) for Kobold2D developers
|
#include <CCEventDispatcher.h>
Public Member Functions | |
| BOOL | ccTouchesBeganWithEvent: (NSEvent *event) |
| BOOL | ccTouchesMovedWithEvent: (NSEvent *event) |
| BOOL | ccTouchesEndedWithEvent: (NSEvent *event) |
| BOOL | ccTouchesCancelledWithEvent: (NSEvent *event) |
CCTouchEventDelegate protocol. Implement it in your node to receive any of touch events
| BOOL CCTouchEventDelegate-p::ccTouchesBeganWithEvent: | ( | NSEvent * | event | ) | [optional, virtual] |
called when the "touchesBegan" event is received. Return YES to avoid propagating the event to other delegates.
| BOOL CCTouchEventDelegate-p::ccTouchesCancelledWithEvent: | ( | NSEvent * | event | ) | [optional, virtual] |
called when the "touchesCancelled" event is received. Return YES to avoid propagating the event to other delegates.
| BOOL CCTouchEventDelegate-p::ccTouchesEndedWithEvent: | ( | NSEvent * | event | ) | [optional, virtual] |
called when the "touchesEnded" event is received. Return YES to avoid propagating the event to other delegates.
| BOOL CCTouchEventDelegate-p::ccTouchesMovedWithEvent: | ( | NSEvent * | event | ) | [optional, virtual] |
called when the "touchesMoved" event is received. Return YES to avoid propagating the event to other delegates.