#include <CCColliderDetector.h>
Public Member Functions | |
| ColliderDetector () | |
| ~ColliderDetector (void) | |
| virtual bool | init () |
| virtual bool | init (Bone *bone) |
| void | addContourData (ContourData *contourData) |
| void | addContourDataList (cocos2d::Vector< ContourData * > &contourDataList) |
| void | removeContourData (ContourData *contourData) |
| void | removeAll () |
| void | updateTransform (cocos2d::Mat4 &t) |
| void | setActive (bool active) |
| bool | getActive () |
| const cocos2d::Vector < ColliderBody * > & | getColliderBodyList () |
| virtual void | setBone (Bone *bone) |
| virtual Bone * | getBone () const |
Public Member Functions inherited from Ref | |
| void | retain () |
| Retains the ownership. More... | |
| void | release () |
| Releases the ownership immediately. More... | |
| Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More... | |
| unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More... | |
| virtual | ~Ref () |
Static Public Member Functions | |
| static ColliderDetector * | create () |
| static ColliderDetector * | create (Bone *bone) |
Protected Attributes | |
| cocos2d::Vector< ColliderBody * > | _colliderBodyList |
| Bone * | _bone |
| bool | _active |
Protected Attributes inherited from Ref | |
| unsigned int | _referenceCount |
| count of references More... | |
| var | _referenceCount |
| count of references More... | |
| local | _referenceCount |
| count of references More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
| Ref () | |
| Constructor. More... | |
| Ref () | |
| Constructor. More... | |
| ColliderDetector | ( | ) |
| ~ColliderDetector | ( | void | ) |
| void addContourData | ( | ContourData * | contourData | ) |
| void addContourDataList | ( | cocos2d::Vector< ContourData * > & | contourDataList | ) |
|
static |
|
static |
| bool getActive | ( | ) |
|
inlinevirtual |
| const cocos2d::Vector <ColliderBody*> & getColliderBodyList |
( | ) |
|
virtual |
|
virtual |
| void removeAll | ( | ) |
| void removeContourData | ( | ContourData * | contourData | ) |
| void setActive | ( | bool | active | ) |
|
inlinevirtual |
| void updateTransform | ( | cocos2d::Mat4 & | t | ) |
|
protected |
|
protected |
|
protected |