cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TriggerBase.h File Reference

Macros

#define DECLARE_CLASS_INFO
 
#define IMPLEMENT_CLASS_INFO(className)
 

Functions

void CC_STUDIO_DLL sendEvent (unsigned int event)
 

Macro Definition Documentation

#define DECLARE_CLASS_INFO
Value:
public: \
static cocos2d::Ref* createInstance(void); \
Definition: CCRef.h:66
Definition: ObjectFactory.h:41
#define IMPLEMENT_CLASS_INFO (   className)
Value:
cocos2d::Ref* className::createInstance(void) \
{ \
auto ret = new className; \
ret->autorelease(); \
return ret; \
} \
cocos2d::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCRef.h:66
Ref * autorelease()
Releases the ownership sometime soon automatically.

Function Documentation

void CC_STUDIO_DLL sendEvent ( unsigned int  event)