#include <TriggerMng.h>
Public Member Functions | |
TriggerMng (void) | |
virtual | ~TriggerMng (void) |
void | destroyInstance () |
void | parse (const rapidjson::Value &root) |
void | removeAll (void) |
CCArray * | get (unsigned int event) const |
TriggerObj * | getTriggerObj (unsigned int id) const |
bool | add (unsigned int event, TriggerObj *pObj) |
bool | remove (unsigned int event) |
bool | remove (unsigned int event, TriggerObj *pObj) |
bool | removeTriggerObj (unsigned int id) |
bool | isEmpty (void) const |
void | addArmatureMovementCallBack (CCArmature *pAr, CCObject *pTarget, SEL_MovementEventCallFunc mecf) |
void | removeArmatureMovementCallBack (CCArmature *pAr, CCObject *pTarget, SEL_MovementEventCallFunc mecf) |
void | removeArmatureAllMovementCallBack (CCArmature *pAr) |
void | removeAllArmatureMovementCallBack () |
Static Public Member Functions | |
static TriggerMng * | getInstance () |
static const char * | triggerMngVersion () |
TriggerMng | ( | void | ) |
|
virtual |
bool add | ( | unsigned int | event, |
TriggerObj * | pObj | ||
) |
void addArmatureMovementCallBack | ( | CCArmature * | pAr, |
CCObject * | pTarget, | ||
SEL_MovementEventCallFunc | mecf | ||
) |
void destroyInstance | ( | ) |
CCArray* get | ( | unsigned int | event) | const |
|
static |
TriggerObj* getTriggerObj | ( | unsigned int | id) | const |
bool isEmpty | ( | void | ) | const |
void parse | ( | const rapidjson::Value & | root) |
bool remove | ( | unsigned int | event) |
bool remove | ( | unsigned int | event, |
TriggerObj * | pObj | ||
) |
void removeAll | ( | void | ) |
void removeAllArmatureMovementCallBack |
( | ) |
void removeArmatureAllMovementCallBack |
( | CCArmature * | pAr) |
void removeArmatureMovementCallBack | ( | CCArmature * | pAr, |
CCObject * | pTarget, | ||
SEL_MovementEventCallFunc | mecf | ||
) |
bool removeTriggerObj | ( | unsigned int | id) |
|
static |