Phaser API Documentation

  Version: 

Member of: Phaser.Structs.List

each(callback, [context], [args])

Description:

Passes all children to the given callback.

Parameters:

name type arguments description
callback EachListCallback

The function to call.

context * <optional>

Value to use as this when executing callback.

args * <optional>

Additional arguments that will be passed to the callback, after the child.

Examples:
Since: 3.0.0
Source: src/structs/List.js (Line 654)