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

#include <CCPhysicsJointInfo_chipmunk.h>

Public Member Functions

void add (cpConstraint *shape)
void remove (cpConstraint *shape)
void removeAll ()
PhysicsJointgetJoint () const
std::vector< cpConstraint * > & getJoints ()
local getJoints ()

Static Public Member Functions

static std::unordered_map
< cpConstraint
*, PhysicsJointInfo * > & 
getMap ()
local getMap ()

Protected Member Functions

 PhysicsJointInfo (PhysicsJoint *joint)
 ~PhysicsJointInfo ()
 ~PhysicsJointInfo ()
 ~PhysicsJointInfo ()

Protected Attributes

std::vector< cpConstraint * > _joints
local _joints
PhysicsJoint_joint

Static Protected Attributes

static std::unordered_map
< cpConstraint
*, PhysicsJointInfo * > 
_map

Friends

class PhysicsJoint

Constructor & Destructor Documentation

PhysicsJointInfo ( PhysicsJoint joint)
protected
var PhysicsJointInfo ( var  joint)
protected
local PhysicsJointInfo ( local  joint)
protected
~PhysicsJointInfo ( )
protected
var ~PhysicsJointInfo ( )
protected
local ~PhysicsJointInfo ( )
protected

Member Function Documentation

void add ( cpConstraint *  shape)
var add ( var  shape)
local add ( local  shape)
PhysicsJoint* getJoint ( ) const
inline
var getJoint ( )
inline
local getJoint ( )
inline
std::vector<cpConstraint*>
& getJoints
( )
inline
var getJoints ( )
inline
local getJoints ( )
inline
static std::unordered_map
<cpConstraint*,
PhysicsJointInfo*>& getMap
( )
inlinestatic
var getMap ( )
inlinestatic
local getMap ( )
inlinestatic
void remove ( cpConstraint *  shape)
var remove ( var  shape)
local remove ( local  shape)
void removeAll ( )
var removeAll ( )
local removeAll ( )

Friends And Related Function Documentation

friend class PhysicsJoint
friend
var PhysicsJoint
friend
local PhysicsJoint
friend

Member Data Documentation

PhysicsJoint* _joint
protected
var _joint
protected
local _joint
protected
std::vector<cpConstraint*> _joints
protected
var _joints
protected
local _joints
protected
std::unordered_map
<cpConstraint*,
PhysicsJointInfo*> _map
staticprotected
var _map
staticprotected
local _map
staticprotected

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