cocos2d-x  3.0Beta0
 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 "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::Object* createInstance(void); \
#define IMPLEMENT_CLASS_INFO (   className)
Value:
cocos2d::Object* className::createInstance(void) \
{ \
return new className; \
} \
cocostudio::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
var IMPLEMENT_CLASS_INFO (   var)
Value:
cocos2d::Object* className::createInstance(void) \
{ \
return new className; \
} \
cocostudio::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
local IMPLEMENT_CLASS_INFO (   local)
Value:
cocos2d::Object* className::createInstance(void) \
{ \
return new className; \
} \
cocostudio::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \

Function Documentation

void sendEvent ( unsigned int  event)
var sendEvent ( var  event)
local sendEvent ( local  event)