cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PhysicsWorldInfo Class Reference

#include <CCPhysicsWorldInfo_chipmunk.h>

Public Member Functions

cpSpace * getSpace () const
void addShape (PhysicsShapeInfo &shape)
void removeShape (PhysicsShapeInfo &shape)
void addBody (PhysicsBodyInfo &body)
void removeBody (PhysicsBodyInfo &body)
var removeBody ( var body)
local removeBody ( local body)
void addJoint (PhysicsJointInfo &joint)
void removeJoint (PhysicsJointInfo &joint)
void setGravity (const Vect &gravity)
bool isLocked ()
void step (float delta)

Friends

class PhysicsWorld

Member Function Documentation

void addBody ( PhysicsBodyInfo body)
var addBody ( var  body)
local addBody ( local  body)
void addJoint ( PhysicsJointInfo joint)
var addJoint ( var  joint)
local addJoint ( local  joint)
void addShape ( PhysicsShapeInfo shape)
var addShape ( var  shape)
local addShape ( local  shape)
cpSpace* getSpace ( ) const
inline
var getSpace ( )
inline
local getSpace ( )
inline
bool isLocked ( )
var isLocked ( )
local isLocked ( )
void removeBody ( PhysicsBodyInfo body)
var removeBody ( var  body)
local removeBody ( local  body)
void removeJoint ( PhysicsJointInfo joint)
var removeJoint ( var  joint)
local removeJoint ( local  joint)
void removeShape ( PhysicsShapeInfo shape)
var removeShape ( var  shape)
local removeShape ( local  shape)
void setGravity ( const Vect gravity)
var setGravity ( var  gravity)
local setGravity ( local  gravity)
void step ( float  delta)
var step ( var  delta)
local step ( local  delta)

Friends And Related Function Documentation

friend class PhysicsWorld
friend
var PhysicsWorld
friend
local PhysicsWorld
friend

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