#include <CCPhysicsShapeInfo_chipmunk.h>
Public Member Functions | |
void | add (cpShape *shape) |
void | remove (cpShape *shape) |
void | removeAll () |
void | setGroup (cpGroup group) |
void | setBody (cpBody *body) |
PhysicsShape * | getShape () const |
std::vector< cpShape * > & | getShapes () |
cpBody * | getBody () const |
cpGroup | getGourp () const |
Static Public Member Functions | |
static std::unordered_map < cpShape *, PhysicsShapeInfo * > & | getMap () |
local | getMap () |
static cpBody * | getSharedBody () |
Protected Member Functions | |
PhysicsShapeInfo (PhysicsShape *shape) | |
~PhysicsShapeInfo () |
Protected Attributes | |
std::vector< cpShape * > | _shapes |
PhysicsShape * | _shape |
cpBody * | _body |
cpGroup | _group |
Static Protected Attributes | |
static std::unordered_map < cpShape *, PhysicsShapeInfo * > | _map |
static cpBody * | _sharedBody |
Friends | |
class | PhysicsShape |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
void add | ( | cpShape * | shape | ) |
var add | ( | var | shape | ) |
local add | ( | local | shape | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void remove | ( | cpShape * | shape | ) |
var remove | ( | var | shape | ) |
local remove | ( | local | shape | ) |
void removeAll | ( | ) |
var removeAll | ( | ) |
local removeAll | ( | ) |
void setBody | ( | cpBody * | body | ) |
var setBody | ( | var | body | ) |
local setBody | ( | local | body | ) |
void setGroup | ( | cpGroup | group | ) |
var setGroup | ( | var | group | ) |
local setGroup | ( | local | group | ) |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |