Inherits from BodyNode : CCSprite : CCNodeRGBA : CCNode : NSObject
Declared in Ball.h
Ball.mm

Class Methods

ballWithWorld:

Creates a new ball

+ (id)ballWithWorld:(b2World *)world

Parameters

world

world to add the ball to

Declared In

Ball.h

Instance Methods

applyForceTowardsFinger

ccMouseDown:

ccMouseDragged:

ccMouseUp:

ccTouchBegan:withEvent:

ccTouchEnded:withEvent:

ccTouchMoved:withEvent:

createBallInWorld:

dealloc

endContactWithBumper:

endContactWithPlunger:

initWithWorld:

playSound

setBallStartPosition

update: