diff --git a/src/core/typedefs/PhysicsConfig.js b/src/core/typedefs/PhysicsConfig.js index 3fb68c6bc..bd5f22d43 100644 --- a/src/core/typedefs/PhysicsConfig.js +++ b/src/core/typedefs/PhysicsConfig.js @@ -4,6 +4,6 @@ * * @property {string} [default] - The default physics system. It will be started for each scene. Phaser provides 'arcade', 'impact', and 'matter'. * @property {Phaser.Types.Physics.Arcade.ArcadeWorldConfig} [arcade] - Arcade Physics configuration. - * @property {Phaser.Physics.Impact.Types.WorldConfig} [impact] - Impact Physics configuration. + * @property {Phaser.Types.Physics.Impact.WorldConfig} [impact] - Impact Physics configuration. * @property {MatterWorldConfig} [matter] - Matter Physics configuration. */ diff --git a/src/physics/impact/Body.js b/src/physics/impact/Body.js index f267bc76b..5064d2726 100644 --- a/src/physics/impact/Body.js +++ b/src/physics/impact/Body.js @@ -11,7 +11,7 @@ var TYPE = require('./TYPE'); var UpdateMotion = require('./UpdateMotion'); /** - * @callback Phaser.Physics.Impact.Types.BodyUpdateCallback + * @callback Phaser.Types.Physics.Impact.BodyUpdateCallback * @since 3.0.0 * * @param {Phaser.Physics.Impact.Body} body - [description] @@ -491,7 +491,7 @@ var Body = new Class({ * @method Phaser.Physics.Impact.Body#toJSON * @since 3.0.0 * - * @return {Phaser.Physics.Impact.Types.JSONImpactBody} JSON representation of this body object. + * @return {Phaser.Types.Physics.Impact.JSONImpactBody} JSON representation of this body object. */ toJSON: function () { diff --git a/src/physics/impact/World.js b/src/physics/impact/World.js index 4ce421ab0..078ba81f8 100644 --- a/src/physics/impact/World.js +++ b/src/physics/impact/World.js @@ -28,7 +28,7 @@ var TYPE = require('./TYPE'); * @since 3.0.0 * * @param {Phaser.Scene} scene - The Scene to which this Impact World instance belongs. - * @param {Phaser.Physics.Impact.Types.WorldConfig} config - [description] + * @param {Phaser.Types.Physics.Impact.WorldConfig} config - [description] */ var World = new Class({ @@ -141,7 +141,7 @@ var World = new Class({ * [description] * * @name Phaser.Physics.Impact.World#defaults - * @type {Phaser.Physics.Impact.Types.WorldDefaults} + * @type {Phaser.Types.Physics.Impact.WorldDefaults} * @since 3.0.0 */ this.defaults = { @@ -160,7 +160,7 @@ var World = new Class({ * An object containing the 4 wall bodies that bound the physics world. * * @name Phaser.Physics.Impact.World#walls - * @type {Phaser.Physics.Impact.Types.WorldWalls} + * @type {Phaser.Types.Physics.Impact.WorldWalls} * @since 3.0.0 */ this.walls = { left: null, right: null, top: null, bottom: null }; @@ -280,7 +280,7 @@ var World = new Class({ * @since 3.0.0 * * @param {(Phaser.Tilemaps.DynamicTilemapLayer|Phaser.Tilemaps.StaticTilemapLayer)} tilemapLayer - The tilemap layer to use. - * @param {Phaser.Physics.Impact.Types.CollisionOptions} [options] - Options for controlling the mapping from tiles to slope IDs. + * @param {Phaser.Types.Physics.Impact.CollisionOptions} [options] - Options for controlling the mapping from tiles to slope IDs. * * @return {Phaser.Physics.Impact.CollisionMap} The newly created CollisionMap. */ diff --git a/src/physics/impact/typedefs/CollisionOptions.js b/src/physics/impact/typedefs/CollisionOptions.js index 7c64cd9df..ba501bb35 100644 --- a/src/physics/impact/typedefs/CollisionOptions.js +++ b/src/physics/impact/typedefs/CollisionOptions.js @@ -1,5 +1,5 @@ /** - * @typedef {object} Phaser.Physics.Impact.Types.CollisionOptions + * @typedef {object} Phaser.Types.Physics.Impact.CollisionOptions * @since 3.0.0 * * @property {string} [slopeTileProperty=null] - Slope IDs can be stored on tiles directly diff --git a/src/physics/impact/typedefs/JSONImpactBody.js b/src/physics/impact/typedefs/JSONImpactBody.js index 86370f2d9..64bb2ad16 100644 --- a/src/physics/impact/typedefs/JSONImpactBody.js +++ b/src/physics/impact/typedefs/JSONImpactBody.js @@ -1,5 +1,5 @@ /** - * @typedef {object} Phaser.Physics.Impact.Types.JSONImpactBody + * @typedef {object} Phaser.Types.Physics.Impact.JSONImpactBody * @since 3.0.0 * * @property {string} name - [description] diff --git a/src/physics/impact/typedefs/WorldConfig.js b/src/physics/impact/typedefs/WorldConfig.js index 7502f2c95..8460cc975 100644 --- a/src/physics/impact/typedefs/WorldConfig.js +++ b/src/physics/impact/typedefs/WorldConfig.js @@ -1,5 +1,5 @@ /** - * @typedef {object} Phaser.Physics.Impact.Types.WorldConfig + * @typedef {object} Phaser.Types.Physics.Impact.WorldConfig * @since 3.0.0 * * @property {number} [gravity=0] - Sets {@link Phaser.Physics.Impact.World#gravity} diff --git a/src/physics/impact/typedefs/WorldDefaults.js b/src/physics/impact/typedefs/WorldDefaults.js index af1c0b877..bfa1f1619 100644 --- a/src/physics/impact/typedefs/WorldDefaults.js +++ b/src/physics/impact/typedefs/WorldDefaults.js @@ -1,7 +1,7 @@ /** * An object containing the 4 wall bodies that bound the physics world. * - * @typedef {object} Phaser.Physics.Impact.Types.WorldDefaults + * @typedef {object} Phaser.Types.Physics.Impact.WorldDefaults * @since 3.0.0 * * @property {boolean} debugShowBody - Whether the Body's boundary is drawn to the debug display. diff --git a/src/physics/impact/typedefs/WorldWalls.js b/src/physics/impact/typedefs/WorldWalls.js index bfda262dc..75ada77f6 100644 --- a/src/physics/impact/typedefs/WorldWalls.js +++ b/src/physics/impact/typedefs/WorldWalls.js @@ -1,5 +1,5 @@ /** - * @typedef {object} Phaser.Physics.Impact.Types.WorldWalls + * @typedef {object} Phaser.Types.Physics.Impact.WorldWalls * @since 3.0.0 * * @property {?Phaser.Physics.Impact.Body} left - The left-side wall of the world bounds. diff --git a/src/physics/impact/typedefs/index.js b/src/physics/impact/typedefs/index.js index 9e8456209..5a11c56ea 100644 --- a/src/physics/impact/typedefs/index.js +++ b/src/physics/impact/typedefs/index.js @@ -5,5 +5,5 @@ */ /** - * @namespace Phaser.Physics.Impact.Types + * @namespace Phaser.Types.Physics.Impact */