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

#include <CCColliderDetector.h>

Inheritance diagram for ColliderDetector:
Object

Public Member Functions

 ColliderDetector ()
 ~ColliderDetector (void)
virtual bool init ()
var init ()
local init ()
virtual bool init (Bone *bone)
local init ( local bone)
void addContourData (ContourData *contourData)
var addContourData ( var contourData)
local addContourData ( local contourData)
void addContourDataList (Array *contourDataList)
void removeContourData (ContourData *contourData)
var removeContourData ( var contourData)
local removeContourData ( local contourData)
void removeAll ()
void updateTransform (AffineTransform &t)
var updateTransform ( var t)
local updateTransform ( local t)
void setActive (bool active)
var setActive ( var active)
local setActive ( local active)
bool getActive ()
var getActive ()
local getActive ()
ArraygetColliderBodyList ()
local getColliderBodyList ()
virtual cpBody * getBody (void)
 getBody More...
 
virtual void setBody (cpBody *var)
 setBody More...
 
local setBody ( local var)
 setBody More...
 
- Public Member Functions inherited from Object
 Object ()
 Constructor. More...
 
virtual ~Object ()
void release ()
 Release the ownership immediately. More...
 
void retain ()
 Retains the ownership. More...
 
Objectautorelease ()
 Release the ownership sometime soon automatically. More...
 
bool isSingleReference () const
 Returns a boolean value that indicates whether there is only one reference to the object. More...
 
unsigned int retainCount () const
 Returns the object's current reference count. More...
 
virtual bool isEqual (const Object *object)
 Returns a boolean value that indicates whether this object and a given object are equal. More...
 
virtual void acceptVisitor (DataVisitor &visitor)
virtual void update (float dt)

Static Public Member Functions

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

Public Attributes

virtual BonegetBone (void)\n\n public
 getBone More...
 
var getBone ()
 getBone More...
 
local getBone ()
 getBone More...
 
- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _luaID
 Lua reference id. More...
 

Protected Attributes

Array_colliderBodyList
local _colliderBodyList
Bone_bone
var _bone
local _bone
cpBody * _body
bool _active
- Protected Attributes inherited from Object
unsigned int _reference
 count of references More...
 
var _reference
 count of references More...
 
local _reference
 count of references More...
 
unsigned int _autoReleaseCount
 count of autorelease More...
 
var _autoReleaseCount
 count of autorelease More...
 
local _autoReleaseCount
 count of autorelease 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 ( Array 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 cpBody* getBody ( void  )
virtual

getBody

var getBody (   )
virtual

getBody

local getBody (   )
virtual

getBody

Array* 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 setBody ( cpBody *  var)
virtual

setBody

var setBody ( var  var)
virtual

setBody

local setBody ( local  var)
virtual

setBody

void updateTransform ( AffineTransform t)
var updateTransform ( var  t)
local updateTransform ( local  t)

Member Data Documentation

bool _active
protected
var _active
protected
local _active
protected
cpBody* _body
protected
var _body
protected
local _body
protected
Bone* _bone
protected
var _bone
protected
local _bone
protected
Array* _colliderBodyList
protected
var _colliderBodyList
protected
local _colliderBodyList
protected
virtual Bone* getBone(void)\n\n
public

getBone

setBone

var public

getBone

setBone

local public

getBone

setBone


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