#include <CCEventTouch.h>
Public Types | |
enum | EventCode { BEGAN, MOVED, ENDED, CANCELLED } |
Public Member Functions | |
EventTouch () | |
EventCode | getEventCode () |
local | getEventCode () |
std::vector< Touch * > | getTouches () |
var | getTouches () |
local | getTouches () |
void | setEventCode (EventCode eventCode) |
void | setTouches (const std::vector< Touch * > &touches) |
![]() | |
virtual | ~Event () |
Destructor. More... | |
const std::string & | getType () const |
Gets the event type. More... | |
void | stopPropagation () |
Stops propagation for current event. More... | |
bool | isStopped () const |
Checks whether the event has been stopped. More... | |
Node * | getCurrentTarget () |
Gets current target of the event. More... | |
Static Public Attributes | |
static const char * | EVENT_TYPE |
var | EVENT_TYPE |
local | EVENT_TYPE |
static const int | MAX_TOUCHES = 5 |
var | MAX_TOUCHES = 5 |
local | MAX_TOUCHES = 5 |
Friends | |
class | EGLViewProtocol |
Additional Inherited Members | |
![]() | |
Event (const std::string &type) | |
Constructor. More... | |
void | setCurrentTarget (Node *target) |
Sets current target. More... | |
![]() | |
std::string | _type |
Event type. More... | |
bool | _isStopped |
whether the event has been stopped. More... | |
Node * | _currentTarget |
Current target. More... | |
var | _currentTarget |
Current target. More... | |
local | _currentTarget |
Current target. More... | |
|
strong |
|
strong |
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |