A box shape. More...
#include <CCPhysicsShape.h>
Protected Member Functions | |
bool | init (PhysicsBody *body, Size size, Point offset=Point(0, 0)) |
PhysicsShapeBox () | |
virtual | ~PhysicsShapeBox () |
local | ~PhysicsShapeBox () |
Protected Member Functions inherited from PhysicsShape | |
bool | init (PhysicsBody *body, Type type) |
var | init ( var body, var type) |
local | init ( local body, local type) |
PhysicsBodyInfo * | bodyInfo () const |
PhysicsShape is PhysicsBody's friend class, but all the subclasses isn't. More... | |
var | bodyInfo () |
PhysicsShape is PhysicsBody's friend class, but all the subclasses isn't. More... | |
void | addToBody () |
PhysicsShape () | |
virtual | ~PhysicsShape ()=0 |
Static Protected Member Functions | |
static PhysicsShapeBox * | create (PhysicsBody *body, Size size, Point offset=Point(0, 0)) |
local | create ( local body, local size, local 0) |
Friends | |
class | PhysicsBody |
Additional Inherited Members | |
Public Types inherited from PhysicsShape | |
enum | Type { UNKNOWN, CIRCLE, BOX, POLYGEN, EDGESEGMENT, EDGEBOX, EDGEPOLYGEN, EDGECHAIN } |
Public Member Functions inherited from PhysicsShape | |
PhysicsBody * | getBody () |
Type | getType () |
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 PhysicsShape | |
PhysicsBody * | _body |
PhysicsShapeInfo * | _info |
local | _info |
Type | _type |
A box shape.
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
friend |
|
friend |