Impact Physics is now removed from the core API

This commit is contained in:
Richard Davey 2020-02-04 14:52:04 +00:00
parent b5d91f1fdf
commit 20fabba0b9
44 changed files with 3 additions and 15 deletions

View file

@ -4,6 +4,5 @@
*
* @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.Types.Physics.Impact.WorldConfig} [impact] - Impact Physics configuration.
* @property {Phaser.Types.Physics.Matter.MatterWorldConfig} [matter] - Matter Physics configuration.
* @property {Phaser.Types.Physics.Matter.MatterWorldConfig} [matter] - Matter Physics configuration.
*/

View file

@ -166,10 +166,10 @@ var GameObject = new Class({
this.input = null;
/**
* If this Game Object is enabled for physics then this property will contain a reference to a Physics Body.
* If this Game Object is enabled for Arcade Physics then this property will contain a reference to a Physics Body.
*
* @name Phaser.GameObjects.GameObject#body
* @type {?(object|Phaser.Physics.Arcade.Body|Phaser.Physics.Impact.Body)}
* @type {?(object|Phaser.Physics.Arcade.Body)}
* @default null
* @since 3.0.0
*/

View file

@ -15,7 +15,6 @@
module.exports = {
Arcade: require('./arcade'),
Impact: require('./impact'),
Matter: require('./matter-js')
};

View file

@ -225,16 +225,6 @@ var Scene = new Class({
*/
this.physics;
/**
* A scene level Impact Physics Plugin.
* This property will only be available if defined in the Scene Injection Map, the plugin is installed and configured.
*
* @name Phaser.Scene#impact
* @type {Phaser.Physics.Impact.ImpactPhysics}
* @since 3.0.0
*/
this.impact;
/**
* A scene level Matter Physics Plugin.
* This property will only be available if defined in the Scene Injection Map, the plugin is installed and configured.