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

#include <CCPhysicsJoint.h>

Inheritance diagram for PhysicsJointDistance:
PhysicsJoint

Static Public Member Functions

static PhysicsJointDistance * construct (PhysicsBody *a, PhysicsBody *b, const Point &anchr1, const Point &anchr2)
- Static Public Member Functions inherited from PhysicsJoint
static void destroy (PhysicsJoint *joint)
local destroy ( local joint)

Protected Member Functions

bool init (PhysicsBody *a, PhysicsBody *b, const Point &anchr1, const Point &anchr2)
 PhysicsJointDistance ()
virtual ~PhysicsJointDistance ()
- Protected Member Functions inherited from PhysicsJoint
 PhysicsJoint ()
virtual ~PhysicsJoint ()=0
bool init (PhysicsBody *a, PhysicsBody *b)
PhysicsBodyInfo * getBodyInfo (PhysicsBody *body) const
 PhysicsShape is PhysicsBody's friend class, but all the subclasses isn't. More...
 
local getBodyInfo ( local body)
 PhysicsShape is PhysicsBody's friend class, but all the subclasses isn't. More...
 
Node * getBodyNode (PhysicsBody *body) const

Additional Inherited Members

- Public Member Functions inherited from PhysicsJoint
PhysicsBody * getBodyA () const
local getBodyA ()
PhysicsBody * getBodyB () const
local getBodyB ()
PhysicsWorld * getWorld () const
local getWorld ()
int getTag () const
void setTag (int tag)
local setTag ( local tag)
bool isEnabled () const
void setEnable (bool enable)
local setEnable ( local enable)
bool isCollisionEnabled () const
void setCollisionEnable (bool enable)
var setCollisionEnable ( var enable)
local setCollisionEnable ( local enable)
void removeFormWorld ()
- Protected Attributes inherited from PhysicsJoint
PhysicsBody * _bodyA
PhysicsBody * _bodyB
var _bodyB
local _bodyB
PhysicsWorld * _world
var _world
local _world
PhysicsJointInfo * _info
local _info
bool _enable
var _enable
local _enable
bool _collisionEnable
local _collisionEnable
bool _destoryMark
var _destoryMark
local _destoryMark
int _tag

Constructor & Destructor Documentation

PhysicsJointDistance ( )
protected
virtual ~PhysicsJointDistance ( )
protectedvirtual

Member Function Documentation

static PhysicsJointDistance*
construct
( PhysicsBody *  a,
PhysicsBody *  b,
const Point &  anchr1,
const Point &  anchr2 
)
static
bool init ( PhysicsBody *  a,
PhysicsBody *  b,
const Point &  anchr1,
const Point &  anchr2 
)
protected

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