Phaser API Documentation

  Version: 

Member of: Phaser.Structs.Set

iterateLocal(callbackKey, [args])

Description:

Goes through each entry in this Set and invokes the given function on them, passing in the arguments.

Parameters:

name type arguments description
callbackKey string

The key of the function to be invoked on each Set entry.

args * <optional>

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

Returns:
Description:

This Set object.

Since: 3.0.0
Source: src/structs/Set.js (Line 259)