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

#include <CCColliderDetector.h>

Inheritance diagram for ColliderDetector:
Ref

Public Member Functions

 ColliderDetector ()
 ~ColliderDetector (void)
virtual bool init ()
virtual bool init (Bone *bone)
local init ( local 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 ()
local 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 ()
 Destructor. More...
 

Static Public Member Functions

static ColliderDetector * create ()
static ColliderDetector * create (Bone *bone)
local create ( local bone)

Protected Attributes

cocos2d::Vector< ColliderBody * > _colliderBodyList
var _colliderBodyList
Bone * _bone
bool _active
- Protected Attributes inherited from Ref
unsigned int _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...
 

Constructor & Destructor Documentation

var ctor ( )
local ColliderDetector ( )
~ColliderDetector ( void  )

Member Function Documentation

void addContourData ( ContourData *  contourData)
var addContourData ( var  contourData)
local addContourData ( local  contourData)
void addContourDataList ( cocos2d::Vector< ContourData * > &  contourDataList)
var addContourDataList ( var  contourDataList)
local addContourDataList ( local  contourDataList)
static ColliderDetector* create ( )
static
var create ( )
static
local create ( )
static
static ColliderDetector* create ( Bone *  bone)
static
var create ( var  bone)
static
local create ( local  bone)
static
bool getActive ( )
var getActive ( )
local getActive ( )
virtual Bone* getBone ( ) const
inlinevirtual
var getBone ( )
inlinevirtual
local getBone ( )
inlinevirtual
const cocos2d::Vector
<ColliderBody*>
& getColliderBodyList
( )
var getColliderBodyList ( )
local getColliderBodyList ( )
virtual bool init ( )
virtual
var init ( )
virtual
local init ( )
virtual
virtual bool init ( Bone *  bone)
virtual
var init ( var  bone)
virtual
local init ( local  bone)
virtual
void removeAll ( )
var removeAll ( )
local removeAll ( )
void removeContourData ( ContourData *  contourData)
var removeContourData ( var  contourData)
local removeContourData ( local  contourData)
void setActive ( bool  active)
var setActive ( var  active)
local setActive ( local  active)
virtual void setBone ( Bone *  bone)
inlinevirtual
var setBone ( var  bone)
inlinevirtual
local setBone ( local  bone)
inlinevirtual
void updateTransform ( cocos2d::Mat4 &  t)
var updateTransform ( var  t)
local updateTransform ( local  t)

Member Data Documentation

bool _active
protected
var _active
protected
local _active
protected
Bone* _bone
protected
var _bone
protected
local _bone
protected
cocos2d::Vector<ColliderBody*>
_colliderBodyList
protected
var _colliderBodyList
protected
local _colliderBodyList
protected

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