mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 14:40:38 +00:00
Merge pull request #5871 from samme/docs/ObjectHelper
Docs: fix types in Phaser.Tilemaps.ObjectHelper#setFromJSON
This commit is contained in:
commit
f6147757d5
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ var ObjectHelper = new Class({
|
|||
* @private
|
||||
*
|
||||
* @param {Phaser.GameObjects.GameObject} sprite - The object for which to populate `data`.
|
||||
* @param {({[key:string]:*}|{name:string, value:*}[])} properties - The properties to set in either JSON object format or else a list of objects with `name` and `value` fields.
|
||||
* @param {(Object.<string, *>|Object[])} properties - The properties to set in either JSON object format or else a list of objects with `name` and `value` fields.
|
||||
*/
|
||||
setFromJSON: function (sprite, properties)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue