Phaser API Documentation

  Version: 

Member of: Phaser.Structs.Map

each(callback)

Description:

Iterates through all entries in this Map, passing each one to the given callback.

If the callback returns false, the iteration will break.

Parameters:

name type description
callback EachMapCallback

The callback which will receive the keys and entries held in this Map.

Returns:
Description:

This Map object.

Since: 3.0.0
Source: src/structs/Map.js (Line 274)