Skip to content

Commit ee22bbb

Browse files
committed
docs: parameter description augmented
addTilemap 'url' parameter text augmented
1 parent 608e2b5 commit ee22bbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/loader/Cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ Phaser.Cache.prototype = {
328328
*
329329
* @method Phaser.Cache#addTilemap
330330
* @param {string} key - The unique key by which you will reference this object.
331-
* @param {string} url - URL of the tilemap image.
331+
* @param {string} url - URL of the tilemap image or key reference.
332332
* @param {object} mapData - The tilemap data object (either a CSV or JSON file).
333333
* @param {number} format - The format of the tilemap data.
334334
*/

0 commit comments

Comments
 (0)