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

#include <CCPhysicsJoint.h>

Inheritance diagram for PhysicsJointLimit:
PhysicsJoint Object

Public Member Functions

PhysicsJointLimitcreate (PhysicsBody *a, PhysicsBody *b, const Point &anchr1, const Point &anchr2, float min, float max)
- Public Member Functions inherited from PhysicsJoint
PhysicsBodygetBodyA ()
local getBodyA ()
PhysicsBodygetBodyB ()
local getBodyB ()
- 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)

Protected Member Functions

bool init (PhysicsBody *a, PhysicsBody *b, const Point &anchr1, const Point &anchr2, float min, float max)
 PhysicsJointLimit ()
virtual ~PhysicsJointLimit ()
- Protected Member Functions inherited from PhysicsJoint
 PhysicsJoint ()
virtual ~PhysicsJoint ()=0
bool init (PhysicsBody *a, PhysicsBody *b)
var init ( var a, var b)
local init ( local a, local b)
PhysicsBodyInfobodyInfo (PhysicsBody *body) const
 PhysicsShape is PhysicsBody's friend class, but all the subclasses isn't. More...
 
var bodyInfo ( var body)
 PhysicsShape is PhysicsBody's friend class, but all the subclasses isn't. More...
 

Additional Inherited Members

- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _luaID
 Lua reference id. More...
 
- Protected Attributes inherited from PhysicsJoint
PhysicsBody_bodyA
PhysicsBody_bodyB
var _bodyB
local _bodyB
PhysicsJointInfo_info
local _info

Constructor & Destructor Documentation

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

Member Function Documentation

PhysicsJointLimit* create ( PhysicsBody a,
PhysicsBody b,
const Point anchr1,
const Point anchr2,
float  min,
float  max 
)
var create ( var  a,
var  b,
var  anchr1,
var  anchr2,
var  min,
var  max 
)
local create ( local  a,
local  b,
local  anchr1,
local  anchr2,
local  min,
local  max 
)
bool init ( PhysicsBody a,
PhysicsBody b,
const Point anchr1,
const Point anchr2,
float  min,
float  max 
)
protected
var init ( var  a,
var  b,
var  anchr1,
var  anchr2,
var  min,
var  max 
)
protected
local init ( local  a,
local  b,
local  anchr1,
local  anchr2,
local  min,
local  max 
)
protected

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