Skip to content

Commit 037d3f1

Browse files
committed
Description for pack property
1 parent f39e3d8 commit 037d3f1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/scene/typedefs/SettingsConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @property {string} [key] - The unique key of this Scene. Must be unique within the entire Game instance.
66
* @property {boolean} [active=false] - Does the Scene start as active or not? An active Scene updates each step.
77
* @property {boolean} [visible=true] - Does the Scene start as visible or not? A visible Scene renders each step.
8-
* @property {(false|Phaser.Types.Loader.FileTypes.PackFileSection)} [pack=false] - An optional Loader Packfile to be loaded before the Scene begins.
8+
* @property {(false|Phaser.Types.Loader.FileTypes.PackFileSection)} [pack=false] - Files to be loaded before the Scene begins.
99
* @property {?(Phaser.Types.Cameras.Scene2D.JSONCamera|Phaser.Types.Cameras.Scene2D.JSONCamera[])} [cameras=null] - An optional Camera configuration object.
1010
* @property {Object.<string, string>} [map] - Overwrites the default injection map for a scene.
1111
* @property {Object.<string, string>} [mapAdd] - Extends the injection map for a scene.

src/scene/typedefs/SettingsObject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* @property {integer} transitionDuration - The duration of the transition, if set.
1313
* @property {boolean} transitionAllowInput - Is this Scene allowed to receive input during transitions?
1414
* @property {object} data - a data bundle passed to this Scene from the Scene Manager.
15-
* @property {(false|Phaser.Types.Loader.FileTypes.PackFileSection)} pack - The Loader Packfile to be loaded before the Scene begins.
15+
* @property {(false|Phaser.Types.Loader.FileTypes.PackFileSection)} pack - Files to be loaded before the Scene begins.
1616
* @property {?(Phaser.Types.Cameras.Scene2D.JSONCamera|Phaser.Types.Cameras.Scene2D.JSONCamera[])} cameras - The Camera configuration object.
1717
* @property {Object.<string, string>} map - The Scene's Injection Map.
1818
* @property {Phaser.Types.Core.PhysicsConfig} physics - The physics configuration object for the Scene.

0 commit comments

Comments
 (0)