Docs: add CreateFromObjectsClassTypeConstructor

This commit is contained in:
samme 2022-03-30 11:05:27 -07:00
parent aa5f54cfa2
commit 7f37d52ba9
2 changed files with 7 additions and 1 deletions

View file

@ -6,7 +6,7 @@
* @property {number} [gid] - An Object GID to convert.
* @property {string} [name] - An Object Name to convert.
* @property {string} [type] - An Object Type to convert.
* @property {function} [classType=Phaser.GameObjects.Sprite] - A custom class type to convert the objects in to. The default is {@link Phaser.GameObjects.Sprite}.
* @property {Phaser.Types.Tilemaps.CreateFromObjectsClassTypeConstructor} [classType] - A custom class type to convert the objects in to. The default is {@link Phaser.GameObjects.Sprite}. A custom class should resemble Sprite or Image.
* @property {boolean} [ignoreTileset] - By default, gid-based objects copy properties and respect the type of the tile at that gid and treat the object as an override. If this is true, they don't, and use only the fields set on the object itself.
* @property {Phaser.Scene} [scene] - A Scene reference, passed to the Game Objects constructors.
* @property {Phaser.GameObjects.Container} [container] - Optional Container to which the Game Objects are added.

View file

@ -0,0 +1,6 @@
/**
* @callback Phaser.Types.Tilemaps.CreateFromObjectsClassTypeConstructor
* @since 3.60.0
*
* @param {Phaser.Scene} scene - The Scene to which this Game Object belongs.
*/