addTilesetImage(tileset, key, tileWidth, tileHeight, tileMargin, tileSpacing, gid) → {Phaser.Tileset}
Adds an image to the map to be used as a tileset. A single map may use multiple tilesets.Note that the tileset name can be found in the JSON file exported from Tiled, or in the Tiled editor.
Parameters
Name Type Argument Default Description tileset string The name of the tileset as specified in the map data. key string | Phaser.BitmapData <optional> The key of the Phaser.Cac