Skip to content

Commit

Permalink
Updated Scene config types
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed May 10, 2019
1 parent 7deaa9e commit f9315ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -239,7 +239,7 @@ You can find lots of examples on using DOM Elements in the Phaser 3 Examples rep

My thanks to the following for helping with the Phaser 3 Examples, Docs and TypeScript definitions, either by reporting errors, fixing them or helping author the docs:

@sky-coding @G-Rath @S4n60w3n @rootasjey @englercj @josephmbustamante @Jason-Cooke @Zamiell @krzysztof-grzybek @S4n60w3n @m31271n @peterellisjones @martinlindhe @TylerMorley @samme @schomatis @BeLi4L @hizzd @OmarShehata
@sky-coding @G-Rath @S4n60w3n @rootasjey @englercj @josephmbustamante @Jason-Cooke @Zamiell @krzysztof-grzybek @S4n60w3n @m31271n @peterellisjones @martinlindhe @TylerMorley @samme @schomatis @BeLi4L @hizzd @OmarShehata @antoine-pous @digitsensitive

Also, thanks to @Osmose there is a new Dashing config added to the Phaser 3 Docs Repo, with a new command `build-docset` which will build a [Dash](https://kapeli.com/dash) compatible docset for those who like to use Dash for their docs.

Expand Down
4 changes: 2 additions & 2 deletions src/scene/typedefs/SettingsConfig.js
Expand Up @@ -9,7 +9,7 @@
* @property {?(Phaser.Types.Cameras.Scene2D.JSONCamera|Phaser.Types.Cameras.Scene2D.JSONCamera[])} [cameras=null] - An optional Camera configuration object.
* @property {Object.<string, string>} [map] - Overwrites the default injection map for a scene.
* @property {Object.<string, string>} [mapAdd] - Extends the injection map for a scene.
* @property {object} [physics={}] - The physics configuration object for the Scene.
* @property {object} [loader={}] - The loader configuration object for the Scene.
* @property {Phaser.Types.Core.PhysicsConfig} [physics={}] - The physics configuration object for the Scene.
* @property {Phaser.Types.Core.LoaderConfig} [loader={}] - The loader configuration object for the Scene.
* @property {(false|*)} [plugins=false] - The plugin configuration object for the Scene.
*/
4 changes: 2 additions & 2 deletions src/scene/typedefs/SettingsObject.js
Expand Up @@ -15,7 +15,7 @@
* @property {(false|Phaser.Types.Loader.FileTypes.PackFileConfig)} pack - The Loader Packfile to be loaded before the Scene begins.
* @property {?(Phaser.Types.Cameras.Scene2D.JSONCamera|Phaser.Types.Cameras.Scene2D.JSONCamera[])} cameras - The Camera configuration object.
* @property {Object.<string, string>} map - The Scene's Injection Map.
* @property {object} physics - The physics configuration object for the Scene.
* @property {object} loader - The loader configuration object for the Scene.
* @property {Phaser.Types.Core.PhysicsConfig} physics - The physics configuration object for the Scene.
* @property {Phaser.Types.Core.LoaderConfig} loader - The loader configuration object for the Scene.
* @property {(false|*)} plugins - The plugin configuration object for the Scene.
*/

0 comments on commit f9315ba

Please sign in to comment.