Phaser API Documentation

  Version: 

Member of: Phaser.Structs.Map

merge(map, [override])

Description:

Merges all new keys from the given Map into this one. If it encounters a key that already exists it will be skipped unless override is set to true.

Parameters:

name type arguments Default description
map Phaser.Structs.Map

The Map to merge in to this Map.

override boolean <optional> false

Set to true to replace values in this Map with those from the source map, or false to skip them.

Returns:
Description:

This Map object.

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