cocos2d-x  3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TriggerBase.h File Reference
#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "base/ObjectFactory.h"
#include "TriggerObj.h"
#include "TriggerMng.h"

Macros

#define DECLARE_CLASS_INFO
#define IMPLEMENT_CLASS_INFO(className)

Functions

void  (unsigned int event)

Macro Definition Documentation

#define DECLARE_CLASS_INFO
Value:
public: \
static cocos2d::Ref* createInstance(void); \
Definition: CCRef.h:66
Definition: ObjectFactory.h:39
local DECLARE_CLASS_INFO
Value:
public: \
static cocos2d::Ref* createInstance(void); \
Definition: CCRef.h:66
Definition: ObjectFactory.h:39
#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.
var IMPLEMENT_CLASS_INFO (   var)
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.
local IMPLEMENT_CLASS_INFO (   local)
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 sendEvent ( unsigned int  event)
var sendEvent ( var  event)
local sendEvent ( local  event)