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

#include <CCPhysicsJoint.h>

Inheritance diagram for PhysicsJointSliding:
PhysicsJoint Object

Public Member Functions

PhysicsJointSlidingcreate (PhysicsBody *a, PhysicsBody *b, const Point &grooveA, const Point &grooveB, const Point &anchr)
- 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 &grooveA, const Point &grooveB, const Point &anchr)
 PhysicsJointSliding ()
virtual ~PhysicsJointSliding ()
- 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

PhysicsJointSliding ( )
protected
virtual ~PhysicsJointSliding ( )
protectedvirtual

Member Function Documentation

PhysicsJointSliding* create ( PhysicsBody a,
PhysicsBody b,
const Point grooveA,
const Point grooveB,
const Point anchr 
)
bool init ( PhysicsBody a,
PhysicsBody b,
const Point grooveA,
const Point grooveB,
const Point anchr 
)
protected

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