SpaceManagerCocos2d Class Reference
| Inherits from | SpaceManager : NSObject |
| Declared in | SpaceManagerCocos2d.h |
Tasks
-
– startSchedule a timed loop (against step:) using Cocos2d’s default dt
-
– start:Schedule a timed loop (against step:) using dt
-
– stopStop the timed loop
-
– createDebugLayerAttach cpShapeNode’s and cpConstraintNode’s to shapes/constraints that have NULL data fields
-
– createDebugLayerWithColor:Attach cpShapeNode’s and cpConstraintNode’s to shapes/constraints that have NULL data fields
-
+ createShapeNode:Create [debug] node with random color
-
+ createConstraintNode:Create [debug] node with random color
-
– addWindowContainmentWithFriction:elasticity:inset:Convenience method for adding a containment rect around the view
-
– addWindowContainmentWithFriction:elasticity:inset:radius:
Class Methods
Instance Methods
addWindowContainmentWithFriction:elasticity:inset:
Convenience method for adding a containment rect around the view
- (NSArray *)addWindowContainmentWithFriction:(cpFloat)friction elasticity:(cpFloat)elasticity inset:(cpVect)insetDeclared In
SpaceManagerCocos2d.hcreateDebugLayer
Attach cpShapeNode’s and cpConstraintNode’s to shapes/constraints that have NULL data fields
- (CCLayer *)createDebugLayerDeclared In
SpaceManagerCocos2d.hcreateDebugLayerWithColor:
Attach cpShapeNode’s and cpConstraintNode’s to shapes/constraints that have NULL data fields
- (CCLayer *)createDebugLayerWithColor:(ccColor4B)colorDeclared In
SpaceManagerCocos2d.hstart
Schedule a timed loop (against step:) using Cocos2d’s default dt
- (void)startDeclared In
SpaceManagerCocos2d.h