Takes an array of objects and passes each of them to the given callback.
name | type | description |
---|---|---|
items | array | Array.<Phaser.GameObjects.GameObject> |
The array of items to be updated by this action. |
callback | Phaser.Types.Actions.CallCallback |
The callback to be invoked. It will be passed just one argument: the item from the array. |
context | * |
The scope in which the callback will be invoked. |
The array of objects that was passed to this Action.