cocos2d-x
3.3
|
#include <TriggerMng.h>
Public Member Functions | |
TriggerMng (void) | |
virtual | ~TriggerMng (void) |
void | parse (const rapidjson::Value &root) |
void | parse (cocostudio::CocoLoader *pCocoLoader, cocostudio::stExpCocoNode *pCocoNode) |
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) |
Static Public Member Functions | |
static TriggerMng * | getInstance () |
static void | destroyInstance () |
static const char * | triggerMngVersion () |
TriggerMng | ( | void | ) |
|
virtual |
void addArmatureMovementCallBack | ( | Armature * | pAr, |
cocos2d::Ref * | pTarget, | ||
SEL_MovementEventCallFunc | mecf | ||
) |
void addEventListenerWithFixedPriority | ( | cocos2d::EventListener * | listener, |
int | fixedPriority | ||
) |
|
static |
void dispatchEvent | ( | cocos2d::EventCustom * | tEvent | ) |
cocos2d::Vector<TriggerObj*>* get | ( | unsigned int | event | ) | const |
|
static |
TriggerObj* getTriggerObj | ( | unsigned int | id | ) | const |
bool isEmpty | ( | void | ) | const |
void parse | ( | const rapidjson::Value & | root | ) |
void parse | ( | cocostudio::CocoLoader * | pCocoLoader, |
cocostudio::stExpCocoNode * | pCocoNode | ||
) |
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 |