More TypeScript updates.

This commit is contained in:
photonstorm
2013-12-18 16:56:14 +00:00
parent f991f9cee8
commit 5cf7ed4fdb
6 changed files with 207 additions and 116 deletions
+1 -3
View File
@@ -179,15 +179,13 @@ Phaser.Cache.prototype = {
* @method Phaser.Cache#addTilemap
* @param {string} key - The unique key by which you will reference this object.
* @param {string} url - URL of the tilemap image.
* @param {object} mapData - The tilemap data object.
* @param {object} mapData - The tilemap data object (either a CSV or JSON file).
* @param {number} format - The format of the tilemap data.
*/
addTilemap: function (key, url, mapData, format) {
this._tilemaps[key] = { url: url, data: mapData, format: format };
this._tilemaps[key].layers = Phaser.TilemapParser.parse(this.game, mapData, format);
},
/**