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 ()
 

Static Public Member Functions

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

Protected Member Functions

 PhysicsJointInfo (PhysicsJoint *joint)
 
 ~PhysicsJointInfo ()
 

Protected Attributes

std::vector< cpConstraint * > _joints
 
PhysicsJoint_joint
 

Static Protected Attributes

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

Friends

class PhysicsJoint
 

Constructor & Destructor Documentation

PhysicsJointInfo ( PhysicsJoint joint)
protected
~PhysicsJointInfo ( )
protected

Member Function Documentation

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

Friends And Related Function Documentation

friend class PhysicsJoint
friend

Member Data Documentation

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

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