SpaceManagerCocos2d Class Reference
Inherits from | SpaceManager : NSObject |
Declared in | SpaceManagerCocos2d.h |
Tasks
-
– start
Schedule a timed loop (against step:) using Cocos2d’s default dt
-
– start:
Schedule a timed loop (against step:) using dt
-
– stop
Stop the timed loop
-
– createDebugLayer
Attach 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)inset
Declared In
SpaceManagerCocos2d.h
createDebugLayer
Attach cpShapeNode’s and cpConstraintNode’s to shapes/constraints that have NULL data fields
- (CCLayer *)createDebugLayer
Declared In
SpaceManagerCocos2d.h
createDebugLayerWithColor:
Attach cpShapeNode’s and cpConstraintNode’s to shapes/constraints that have NULL data fields
- (CCLayer *)createDebugLayerWithColor:(ccColor4B)color
Declared In
SpaceManagerCocos2d.h
start
Schedule a timed loop (against step:) using Cocos2d’s default dt
- (void)start
Declared In
SpaceManagerCocos2d.h