cocos2d-x  2.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCColliderDetector Class Reference

#include <CCColliderDetector.h>

Inheritance diagram for CCColliderDetector:
CCObject CCCopying

Public Member Functions

 CCColliderDetector ()
 ~CCColliderDetector (void)
virtual bool init ()
virtual bool init (CCBone *bone)
void addContourData (CCContourData *contourData)
void addContourDataList (CCArray *contourDataList)
void removeContourData (CCContourData *contourData)
void removeAll ()
void updateTransform (CCAffineTransform &t)
void setActive (bool active)
bool getActive ()
CCArraygetColliderBodyList ()
- Public Member Functions inherited from CCObject
 CCObject (void)
virtual ~CCObject (void)
void release (void)
void retain (void)
CCObjectautorelease (void)
CCObjectcopy (void)
bool isSingleReference (void) const
unsigned int retainCount (void) const
virtual bool isEqual (const CCObject *pObject)
virtual void acceptVisitor (CCDataVisitor &visitor)
virtual void update (float dt)
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)

Static Public Member Functions

static CCColliderDetectorcreate ()
static CCColliderDetectorcreate (CCBone *bone)

Public Attributes

virtual CCBonegetBone (void)\n\n public
 getBone More...
 
- Public Attributes inherited from CCObject
unsigned int m_uID
int m_nLuaID

Protected Attributes

CCArraym_pColliderBodyList
CCBonem_pBone
bool m_bActive
- Protected Attributes inherited from CCObject
unsigned int m_uReference
unsigned int m_uAutoReleaseCount

Constructor & Destructor Documentation

~CCColliderDetector ( void  )

Member Function Documentation

void addContourData ( CCContourData contourData)
void addContourDataList ( CCArray contourDataList)
static CCColliderDetector* create ( )
static
static CCColliderDetector* create ( CCBone bone)
static
bool getActive ( )
CCArray* getColliderBodyList ( )
virtual bool init ( )
virtual
virtual bool init ( CCBone bone)
virtual
void removeAll ( )
void removeContourData ( CCContourData contourData)
void setActive ( bool  active)
void updateTransform ( CCAffineTransform t)

Member Data Documentation

virtual CCBone* getBone(void)\n\n
public

getBone

setBone

bool m_bActive
protected
CCBone* m_pBone
protected
CCArray* m_pColliderBodyList
protected

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