#import "CCLayer.h"
Inherits CCLayer.
Public Member Functions | |
| (id) | - initWithLayers:vaList: |
| (void) | - switchTo: |
| (void) | - switchToAndReleaseMe: |
Static Public Member Functions | |
| (id) | + layerWithLayers: |
CCMultipleLayer is a CCLayer with the ability to multiplex it's children. Features:
| - (id) initWithLayers: | (CCLayer *) | layer | ||
| vaList: | (va_list) | params | ||
initializes a MultiplexLayer with one or more layers using a variable argument list.
| + (id) layerWithLayers: | (CCLayer *) | layer | ||
| , | NS_REQUIRES_NIL_TERMINATION | |||
creates a CCMultiplexLayer with one or more layers using a variable argument list.
| - (void) switchTo: | (unsigned int) | n |
switches to a certain layer indexed by n. The current (old) layer will be removed from it's parent with 'cleanup:YES'.
| - (void) switchToAndReleaseMe: | (unsigned int) | n |
release the current layer and switches to another layer indexed by n. The current (old) layer will be removed from it's parent with 'cleanup:YES'.
1.7.1