Inherits from CCLayer : CCNode : NSObject
Conforms to SpaceManagerSerializeDelegate
Declared in PhysicsLayer.h
PhysicsLayer.mm

Tasks

Instance Methods

addNewSpriteAt:

addRandomSpriteAt:

addSomeJoinedBodies:

bodyCreateFixture:

dealloc

draw

Override this method to draw your own node. You should use cocos2d’s GL API to enable/disable the GL state / shaders. For further info, please see ccGLstate.h. You shall NOT call [super draw];

- (void)draw

Declared In

CCNode.h

enableBox2dDebugDrawing

init

initializes the node

- (id)init

Declared In

CCNode.h

toMeters:

toPixels:

update: