mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Impact Physics is now removed from the core API
This commit is contained in:
parent
b5d91f1fdf
commit
20fabba0b9
44 changed files with 3 additions and 15 deletions
|
@ -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 {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.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.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -166,10 +166,10 @@ var GameObject = new Class({
|
||||||
this.input = null;
|
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
|
* @name Phaser.GameObjects.GameObject#body
|
||||||
* @type {?(object|Phaser.Physics.Arcade.Body|Phaser.Physics.Impact.Body)}
|
* @type {?(object|Phaser.Physics.Arcade.Body)}
|
||||||
* @default null
|
* @default null
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
||||||
Arcade: require('./arcade'),
|
Arcade: require('./arcade'),
|
||||||
Impact: require('./impact'),
|
|
||||||
Matter: require('./matter-js')
|
Matter: require('./matter-js')
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -225,16 +225,6 @@ var Scene = new Class({
|
||||||
*/
|
*/
|
||||||
this.physics;
|
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.
|
* 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.
|
* This property will only be available if defined in the Scene Injection Map, the plugin is installed and configured.
|
||||||
|
|
Loading…
Reference in a new issue