cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
Public 成员函数 - 图1 Public 成员函数 - 图2)
- 类列表 - 类索引 - 类继承关系 - 类成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

Public 成员函数 | 静态 Public 成员函数 | 所有成员列表

TriggerMng类 参考

#include

## Public 成员函数
TriggerMng (void)
virtual ~TriggerMng (void)
void parse (const rapidjson::Value &root)
void removeAll (void)
cocos2d::Vector< TriggerObj > get (unsigned int event) const
TriggerObj getTriggerObj (unsigned int id) const
bool removeTriggerObj (TriggerObj Obj)
bool removeTriggerObj (unsigned int id)
bool isEmpty (void) const
void addArmatureMovementCallBack (Armature pAr, cocos2d::Ref pTarget, SEL_MovementEventCallFunc mecf)
void removeArmatureMovementCallBack (Armature pAr, cocos2d::Ref pTarget, SEL_MovementEventCallFunc mecf)
void removeArmatureAllMovementCallBack (Armature pAr)
void removeAllArmatureMovementCallBack ()
void dispatchEvent (cocos2d::EventCustom tEvent)
void removeEventListener (cocos2d::EventListener listener)
void addEventListenerWithFixedPriority (cocos2d::EventListener listener, int fixedPriority)
## 静态 Public 成员函数
static TriggerMng getInstance ()
static void destroyInstance ()
static const char triggerMngVersion ()

构造及析构函数说明

TriggerMng ( void )

virtual ~TriggerMng ( void )

virtual

成员函数说明

void addArmatureMovementCallBack ( Armature pAr,
cocos2d::Ref pTarget,
SEL_MovementEventCallFunc mecf
)

void addEventListenerWithFixedPriority ( cocos2d::EventListener * listener,
int fixedPriority
)

static void destroyInstance ( )

static

void dispatchEvent ( cocos2d::EventCustom * tEvent)

cocos2d::Vector<TriggerObj> get ( unsigned int event) const

static TriggerMng* getInstance ( )

static

TriggerObj* getTriggerObj ( unsigned int id) const

bool isEmpty ( void ) const

void parse ( const rapidjson::Value & root)

void removeAll ( void )

void removeAllArmatureMovementCallBack ( )

void removeArmatureAllMovementCallBack ( Armature * pAr)

void removeArmatureMovementCallBack ( Armature pAr,
cocos2d::Ref pTarget,
SEL_MovementEventCallFunc mecf
)

void removeEventListener ( cocos2d::EventListener * listener)

bool removeTriggerObj ( TriggerObj * Obj)

bool removeTriggerObj ( unsigned int id)

static const char* triggerMngVersion ( )

static


该类的文档由以下文件生成:

  • /Users/zeroyang/Documents/github/cocos2d-x/cocos/editor-support/cocostudio/TriggerMng.h