Inherits from CCNode : NSObject
Conforms to CCBlendProtocol
CCRGBAProtocol
Declared in ColoredCircleSprite.h

Tasks

Properties

blendFunc

BlendFunction. Conforms to CCBlendProtocol protocol

@property (nonatomic, readwrite) ccBlendFunc blendFunc

Declared In

ColoredCircleSprite.h

color

Opacity: conforms to CCRGBAProtocol protocol

@property (nonatomic) ccColor3B color

Declared In

ColoredCircleSprite.h

opacity

Opacity: conforms to CCRGBAProtocol protocol

@property (nonatomic) GLubyte opacity

Declared In

ColoredCircleSprite.h

radius

Class Methods

circleWithColor:radius:

creates a Circle with color and radius

+ (id)circleWithColor:(ccColor4B)color radius:(GLfloat)r

Declared In

ColoredCircleSprite.h

Instance Methods

containsPoint:

Returns true if the point is contained in (is on) the node. Respects rotation and scaling of the node.

- (BOOL)containsPoint:(CGPoint)point

Declared In

CCNodeExtensions.h

initWithColor:radius:

initializes a Circle with color and radius

- (id)initWithColor:(ccColor4B)color radius:(GLfloat)r

Declared In

ColoredCircleSprite.h