PhysicsLayer Class Reference
| Inherits from | CCLayer : CCNode : NSObject |
| Conforms to | SpaceManagerSerializeDelegate |
| Declared in | PhysicsLayer.h PhysicsLayer.mm |
Tasks
-
– initinitializes the node
-
– dealloc -
– enableBox2dDebugDrawing -
– addRandomSpriteAt: -
– bodyCreateFixture: -
– addSomeJoinedBodies: -
– addNewSpriteAt: -
– update: -
– toMeters: -
– toPixels: -
– drawOverride 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];