|
cocos2d-x
3.3
|
#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) |
| 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 | ) |
| void addJoint | ( | PhysicsJointInfo & | joint | ) |
| void addShape | ( | PhysicsShapeInfo & | shape | ) |
|
inline |
| bool isLocked | ( | ) |
| void removeBody | ( | PhysicsBodyInfo & | body | ) |
| void removeJoint | ( | PhysicsJointInfo & | joint | ) |
| void removeShape | ( | PhysicsShapeInfo & | shape | ) |
| void setGravity | ( | const Vect & | gravity | ) |
| void step | ( | float | delta | ) |
|
friend |