cocos2d-x  3.0-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TriggerMng Class Reference

#include <TriggerMng.h>

Public Member Functions

 TriggerMng (void)
virtual ~TriggerMng (void)
void parse (const rapidjson::Value &root)
void removeAll (void)
cocos2d::Vector< TriggerObj * > * get (unsigned int event) const
TriggerObjgetTriggerObj (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 (Armature *pAr, cocos2d::Object *pTarget, SEL_MovementEventCallFunc mecf)
void removeArmatureMovementCallBack (Armature *pAr, cocos2d::Object *pTarget, SEL_MovementEventCallFunc mecf)
void removeArmatureAllMovementCallBack (Armature *pAr)
void removeAllArmatureMovementCallBack ()

Static Public Member Functions

static TriggerMnggetInstance ()
static void destroyInstance ()
static const char * triggerMngVersion ()

Constructor & Destructor Documentation

TriggerMng ( void  )
virtual ~TriggerMng ( void  )
virtual

Member Function Documentation

bool add ( unsigned int  event,
TriggerObj pObj 
)
void addArmatureMovementCallBack ( Armature pAr,
cocos2d::Object pTarget,
SEL_MovementEventCallFunc  mecf 
)
static void destroyInstance ( )
static
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)
bool remove ( unsigned int  event)
bool remove ( unsigned int  event,
TriggerObj pObj 
)
void removeAll ( void  )
void
removeAllArmatureMovementCallBack
( )
void
removeArmatureAllMovementCallBack
( Armature pAr)
void removeArmatureMovementCallBack ( Armature pAr,
cocos2d::Object pTarget,
SEL_MovementEventCallFunc  mecf 
)
bool removeTriggerObj ( unsigned int  id)
static const char*
triggerMngVersion
( )
static

The documentation for this class was generated from the following file: