CCNodeMultiplexer Class Reference
| Inherits from | CCNode : CCResponder : NSObject |
| Declared in | CCNodeColor.h |
Overview
CCNodeMultiplexer is a CCNode with the ability to multiplex its children.
Features:
- It supports one or more children
- Only one child will be active a time
Tasks
Creating a CCNodeMultiplexer Object
Initializing a CCNodeMultiplexer Object
CCNodeMultiplexer Management
Class Methods
nodeWithArray:
Creates a CCNodeMultiplexer with an array of nodes.
+ (id)nodeWithArray:(NSArray *)arrayOfNodesParameters
- arrayOfNodes
Array of nodes.
Return Value
The CCNodeMultiplexer object.
Declared In
CCNodeColor.hnodeWithNodes:
Creates a CCMultiplexLayer with one or more nodes using a variable argument list. Example: @code mux = [CCNodeMultiplexer nodeWithNodes:nodeA, nodeB, nodeC, nil];
+ (id)nodeWithNodes:(CCNode *)node, ...Parameters
- node
List of nodes.
- ...
Nil terminator.
Return Value
The CCNodeMultiplexer object.
Declared In
CCNodeColor.h