mirror of
https://github.com/photonstorm/phaser
synced 2024-11-15 17:28:18 +00:00
Docs: add CreateFromObjectsClassTypeConstructor
This commit is contained in:
parent
aa5f54cfa2
commit
7f37d52ba9
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
*/
|
Loading…
Reference in a new issue