ColoredSquareSprite Class Reference
| Inherits from | CCNode : NSObject |
| Conforms to | CCBlendProtocol CCRGBAProtocol |
| Declared in | ColoredSquareSprite.h |
Tasks
-
sizeChanges the size of the node (if supported, for example CCLayerColor).
property -
opacityOpacity: conforms to CCRGBAProtocol protocol
property -
colorOpacity: conforms to CCRGBAProtocol protocol
property -
blendFuncBlendFunction. Conforms to CCBlendProtocol protocol
property -
+ squareWithColor:size:creates a Square with color and size
-
– initWithColor:size:initializes a Circle with color and radius
-
– containsPoint:Returns true if the point is contained in (is on) the node. Respects rotation and scaling of the node.
Properties
blendFunc
BlendFunction. Conforms to CCBlendProtocol protocol
@property (nonatomic, readwrite) ccBlendFunc blendFuncDeclared In
ColoredSquareSprite.hcolor
Opacity: conforms to CCRGBAProtocol protocol
@property (nonatomic) ccColor3B colorDeclared In
ColoredSquareSprite.h