An edge box shape.
More...
#include <CCPhysicsShape.h>
|
bool | init (PhysicsBody *body, Size size, float border=1, Point offset=Point(0, 0)) |
local | init ( local body, local size, local 1, local 0) |
| PhysicsShapeEdgeBox () |
virtual | ~PhysicsShapeEdgeBox () |
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 |
var create |
( |
var |
body, |
|
|
var |
size, |
|
|
var |
border = 0 , |
|
|
var |
offset = Point(0, 0) |
|
) |
| |
|
static |
local create |
( |
local |
body, |
|
|
local |
size, |
|
|
local |
border = 0 , |
|
|
local |
offset = Point(0, 0) |
|
) |
| |
|
static |
var init |
( |
var |
body, |
|
|
var |
size, |
|
|
var |
border = 1 , |
|
|
var |
offset = Point(0, 0) |
|
) |
| |
|
protected |
local init |
( |
local |
body, |
|
|
local |
size, |
|
|
local |
border = 1 , |
|
|
local |
offset = Point(0, 0) |
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: