#import <Layer.h>
Inherits Layer, CocosNodeOpacity-p, CocosNodeRGB-p, and CocosNodeSize-p.

Public Member Functions | |
| (id) | - initWithColor:width:height: |
| (id) | - initWithColor: |
| (void) | - initWidth:height: |
| (void) | - changeColor: |
| (void) | - changeWidth: |
| (void) | - changeHeight: |
Static Public Member Functions | |
| (id) | + layerWithColor:width:height: |
| (id) | + layerWithColor: |
Properties | |
| GLubyte | r |
All features from Layer are valid, plus the following new features:
| - (void) changeColor: |
changes the color of the layer
| - (void) changeHeight: | (GLfloat) | h |
change height
| - (void) changeWidth: | (GLfloat) | w |
change width
| - (void) initWidth: | (GLfloat) | w | ||
| height: | (GLfloat) | h | ||
initializes the witdh and height of the layer
| - (id) initWithColor: | (GLuint) | aColor |
initializes a Layer with color. Width and height are the window size.
| - (id) initWithColor: | (GLuint) | aColor | ||
| width: | (GLint) | w | ||
| height: | (GLint) | h | ||
initializes a Layer with color, width and height
| + (id) layerWithColor: | (GLuint) | aColor |
creates the layer with color. Width and height are the window size.
| + (id) layerWithColor: | (GLuint) | aColor | ||
| width: | (GLfloat) | w | ||
| height: | (GLfloat) | h | ||
creates the Layer with color, width and height
- (GLubyte) r [read, assign] |
conforms to CocosNodeRGB and CocosNodeOpacity protocol
1.5.8