@@ -13,42 +13,6 @@ var InjectionMap = require('./InjectionMap');
1313 * @namespace Phaser.Scenes.Settings
1414 */
1515
16- /**
17- * @typedef {object } Phaser.Scenes.Settings.Config
18- *
19- * @property {string } [key] - The unique key of this Scene. Must be unique within the entire Game instance.
20- * @property {boolean } [active=false] - Does the Scene start as active or not? An active Scene updates each step.
21- * @property {boolean } [visible=true] - Does the Scene start as visible or not? A visible Scene renders each step.
22- * @property {(false|Phaser.Loader.FileTypes.PackFileConfig) } [pack=false] - An optional Loader Packfile to be loaded before the Scene begins.
23- * @property {?(InputJSONCameraObject|InputJSONCameraObject[]) } [cameras=null] - An optional Camera configuration object.
24- * @property {Object.<string, string> } [map] - Overwrites the default injection map for a scene.
25- * @property {Object.<string, string> } [mapAdd] - Extends the injection map for a scene.
26- * @property {object } [physics={}] - The physics configuration object for the Scene.
27- * @property {object } [loader={}] - The loader configuration object for the Scene.
28- * @property {(false|*) } [plugins=false] - The plugin configuration object for the Scene.
29- */
30-
31- /**
32- * @typedef {object } Phaser.Scenes.Settings.Object
33- *
34- * @property {number } status - The current status of the Scene. Maps to the Scene constants.
35- * @property {string } key - The unique key of this Scene. Unique within the entire Game instance.
36- * @property {boolean } active - The active state of this Scene. An active Scene updates each step.
37- * @property {boolean } visible - The visible state of this Scene. A visible Scene renders each step.
38- * @property {boolean } isBooted - Has the Scene finished booting?
39- * @property {boolean } isTransition - Is the Scene in a state of transition?
40- * @property {?Phaser.Scene } transitionFrom - The Scene this Scene is transitioning from, if set.
41- * @property {integer } transitionDuration - The duration of the transition, if set.
42- * @property {boolean } transitionAllowInput - Is this Scene allowed to receive input during transitions?
43- * @property {object } data - a data bundle passed to this Scene from the Scene Manager.
44- * @property {(false|Phaser.Loader.FileTypes.PackFileConfig) } pack - The Loader Packfile to be loaded before the Scene begins.
45- * @property {?(InputJSONCameraObject|InputJSONCameraObject[]) } cameras - The Camera configuration object.
46- * @property {Object.<string, string> } map - The Scene's Injection Map.
47- * @property {object } physics - The physics configuration object for the Scene.
48- * @property {object } loader - The loader configuration object for the Scene.
49- * @property {(false|*) } plugins - The plugin configuration object for the Scene.
50- */
51-
5216var Settings = {
5317
5418 /**
@@ -57,9 +21,9 @@ var Settings = {
5721 * @function Phaser.Scenes.Settings.create
5822 * @since 3.0.0
5923 *
60- * @param {(string|Phaser.Scenes.Settings.Config ) } config - The Scene configuration object used to create this Scene Settings.
24+ * @param {(string|Phaser.Scenes.Types.SettingsConfig ) } config - The Scene configuration object used to create this Scene Settings.
6125 *
62- * @return {Phaser.Scenes.Settings.Object } The Scene Settings object created as a result of the config and default settings.
26+ * @return {Phaser.Scenes.Types.SettingsObject } The Scene Settings object created as a result of the config and default settings.
6327 */
6428 create : function ( config )
6529 {
0 commit comments