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

#include <CCPhysicsJoint.h>

Inheritance diagram for PhysicsJointPin:
PhysicsJoint

Public Member Functions

void setMaxForce (float force)
float getMaxForce () const
- 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 ()

Static Public Member Functions

static PhysicsJointPin * construct (PhysicsBody *a, PhysicsBody *b, const Point &anchr)
var construct ( var a, var b, var anchr)
local construct ( local a, local b, local anchr)
- 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 &anchr)
var init ( var a, var b, var anchr)
local init ( local a, local b, local anchr)
 PhysicsJointPin ()
virtual ~PhysicsJointPin ()
var ~PhysicsJointPin ()
local ~PhysicsJointPin ()
- 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

- 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

PhysicsJointPin ( )
protected
var PhysicsJointPin ( )
protected
local PhysicsJointPin ( )
protected
virtual ~PhysicsJointPin ( )
protectedvirtual
var ~PhysicsJointPin ( )
protectedvirtual
local ~PhysicsJointPin ( )
protectedvirtual

Member Function Documentation

static PhysicsJointPin* construct ( PhysicsBody *  a,
PhysicsBody *  b,
const Point &  anchr 
)
static
var construct ( var  a,
var  b,
var  anchr 
)
static
local construct ( local  a,
local  b,
local  anchr 
)
static
float getMaxForce ( ) const
var getMaxForce ( )
local getMaxForce ( )
bool init ( PhysicsBody *  a,
PhysicsBody *  b,
const Point &  anchr 
)
protected
var init ( var  a,
var  b,
var  anchr 
)
protected
local init ( local  a,
local  b,
local  anchr 
)
protected
void setMaxForce ( float  force)
var setMaxForce ( var  force)
local setMaxForce ( local  force)

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