#include <CCEventCustom.h>
Public Member Functions | |
EventCustom (const std::string &eventName) | |
Constructor. More... | |
void | setUserData (void *data) |
Set user data. More... | |
void * | getUserData () const |
Get user data. More... | |
Public Member Functions inherited from Event | |
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... | |
Protected Attributes | |
void * | _userData |
User data. More... | |
Protected Attributes inherited from Event | |
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... | |
Additional Inherited Members | |
Protected Member Functions inherited from Event | |
Event (const std::string &type) | |
Constructor. More... | |
void | setCurrentTarget (Node *target) |
Sets current target. More... | |
EventCustom | ( | const std::string & | eventName) |
Constructor.
var EventCustom | ( | var | eventName) |
Constructor.
local EventCustom | ( | local | eventName) |
Constructor.
|
inline |
Get user data.
|
inline |
Get user data.
|
inline |
Get user data.
|
inline |
Set user data.
|
inline |
Set user data.
|
inline |
Set user data.
|
protected |
User data.
|
protected |
User data.
|
protected |
User data.