CCMultiplexLayer Class Reference
Overview
CCMultipleLayer is a CCLayer with the ability to multiplex it’s children. Features: – It supports one or more children – Only one children will be active a time
Tasks
-
+ layerWithLayers:
creates a CCMultiplexLayer with one or more layers using a variable argument list.
-
– initWithLayers:vaList:
initializes a MultiplexLayer with one or more layers using a variable argument list.
-
– switchTo:
switches to a certain layer indexed by n. The current (old) layer will be removed from it’s parent with ‘cleanup:YES’.
-
– switchToAndReleaseMe:
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’.
Instance Methods
initWithLayers:vaList:
initializes a MultiplexLayer with one or more layers using a variable argument list.
- (id)initWithLayers:(CCLayer *)layer vaList:(va_list)params
Declared In
CCLayer.h