#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 |
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 | ) |
|
inline |
|
inline |
|
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 | ) |
|
friend |
|
friend |
|
friend |