cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EventCustom Class Reference

#include <CCEventCustom.h>

Inheritance diagram for EventCustom:
Event

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...
 
NodegetCurrentTarget ()
 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...
 

Constructor & Destructor Documentation

EventCustom ( const std::string &  eventName)

Constructor.

var EventCustom ( var  eventName)

Constructor.

local EventCustom ( local  eventName)

Constructor.

Member Function Documentation

void* getUserData ( ) const
inline

Get user data.

var getUserData ( )
inline

Get user data.

local getUserData ( )
inline

Get user data.

void setUserData ( void *  data)
inline

Set user data.

var setUserData ( var  data)
inline

Set user data.

local setUserData ( local  data)
inline

Set user data.

Member Data Documentation

void* _userData
protected

User data.

var _userData
protected

User data.

local _userData
protected

User data.


The documentation for this class was generated from the following file: