|
211 | 211 | * Features:
|
212 | 212 | *
|
213 | 213 | * - It supports one or more children
|
214 |
| - * - Only one children will be active a time |
| 214 | + * - Only one child will be active a time |
215 | 215 | */
|
216 | 216 | @interface CCNodeMultiplexer : CCNode {
|
217 | 217 | unsigned int _enabledNode;
|
|
224 | 224 | /// -----------------------------------------------------------------------
|
225 | 225 |
|
226 | 226 | /**
|
227 |
| - * Creates a CCNodeMultiplexer with an array of layers. |
| 227 | + * Creates a CCNodeMultiplexer with an array of nodes. |
228 | 228 | *
|
229 | 229 | * @param arrayOfNodes Array of nodes.
|
230 | 230 | *
|
231 |
| - * @return The CCNodeMultiplexer Object. |
| 231 | + * @return The CCNodeMultiplexer object. |
232 | 232 | */
|
233 | 233 | +(id)nodeWithArray:(NSArray*)arrayOfNodes;
|
234 | 234 |
|
235 |
| -/** Creates a CCMultiplexLayer with one or more layers using a variable argument list. |
| 235 | +/** Creates a CCMultiplexLayer with one or more nodes using a variable argument list. |
236 | 236 | * Example:
|
237 | 237 | * @code mux = [CCNodeMultiplexer nodeWithNodes:nodeA, nodeB, nodeC, nil];
|
238 | 238 | *
|
239 | 239 | * @param node List of nodes.
|
240 | 240 | * @param ... Nil terminator.
|
241 |
| - * @return The CCNodeMultiplexer Object. |
| 241 | + * @return The CCNodeMultiplexer object. |
242 | 242 | */
|
243 | 243 | +(id)nodeWithNodes:(CCNode*)node, ... NS_REQUIRES_NIL_TERMINATION;
|
244 | 244 |
|
|
248 | 248 | /// -----------------------------------------------------------------------
|
249 | 249 |
|
250 | 250 | /**
|
251 |
| - * Initializes a CCNodeMultiplexer with an array of layers. |
| 251 | + * Initializes a CCNodeMultiplexer with an array of nodes. |
252 | 252 | *
|
253 | 253 | * @param arrayOfNodes Array of nodes.
|
254 | 254 | *
|
|
0 commit comments