BodyNode Class Reference
Inherits from | CCSprite : CCNodeRGBA : CCNode : NSObject |
Declared in | BodyNode.h BodyNode.mm |
Tasks
Other Methods
-
body
property -
– initWithShape:inWord:
Creates a new shape
-
– setBodyShape:
Changes the body’s shape Removes the fixtures of the body replacing them with the new ones
Other Methods
-
– cleanup
Event that is called when the running node is no longer running (eg: its CCScene is being removed from the “stage” ). On cleanup you should break any possible circular references. CCNode’s cleanup removes any possible scheduled timer and/or any possible action. If you override cleanup, you shall call [super cleanup]
Instance Methods
cleanup
Event that is called when the running node is no longer running (eg: its CCScene is being removed from the “stage” ). On cleanup you should break any possible circular references. CCNode’s cleanup removes any possible scheduled timer and/or any possible action. If you override cleanup, you shall call [super cleanup]
- (void)cleanup
Availability
Declared In
CCNode.h