fisrt commit
This commit is contained in:
21
node_modules/phaser/plugins/impact/events/COLLIDE_EVENT.js
generated
vendored
Normal file
21
node_modules/phaser/plugins/impact/events/COLLIDE_EVENT.js
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* @author Richard Davey <rich@photonstorm.com>
|
||||
* @copyright 2020 Photon Storm Ltd.
|
||||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
/**
|
||||
* The Impact Physics World Collide Event.
|
||||
*
|
||||
* This event is dispatched by an Impact Physics World instance if two bodies collide.
|
||||
*
|
||||
* Listen to it from a Scene using: `this.impact.world.on('collide', listener)`.
|
||||
*
|
||||
* @event Phaser.Physics.Impact.Events#COLLIDE
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param {Phaser.Physics.Impact.Body} bodyA - The first body involved in the collision.
|
||||
* @param {Phaser.Physics.Impact.Body} bodyB - The second body involved in the collision.
|
||||
* @param {string} axis - The collision axis. Either `x` or `y`.
|
||||
*/
|
||||
module.exports = 'collide';
|
||||
17
node_modules/phaser/plugins/impact/events/PAUSE_EVENT.js
generated
vendored
Normal file
17
node_modules/phaser/plugins/impact/events/PAUSE_EVENT.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @author Richard Davey <rich@photonstorm.com>
|
||||
* @copyright 2020 Photon Storm Ltd.
|
||||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
/**
|
||||
* The Impact Physics World Pause Event.
|
||||
*
|
||||
* This event is dispatched by an Impact Physics World instance when it is paused.
|
||||
*
|
||||
* Listen to it from a Scene using: `this.impact.world.on('pause', listener)`.
|
||||
*
|
||||
* @event Phaser.Physics.Impact.Events#PAUSE
|
||||
* @since 3.0.0
|
||||
*/
|
||||
module.exports = 'pause';
|
||||
17
node_modules/phaser/plugins/impact/events/RESUME_EVENT.js
generated
vendored
Normal file
17
node_modules/phaser/plugins/impact/events/RESUME_EVENT.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @author Richard Davey <rich@photonstorm.com>
|
||||
* @copyright 2020 Photon Storm Ltd.
|
||||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
/**
|
||||
* The Impact Physics World Resume Event.
|
||||
*
|
||||
* This event is dispatched by an Impact Physics World instance when it resumes from a paused state.
|
||||
*
|
||||
* Listen to it from a Scene using: `this.impact.world.on('resume', listener)`.
|
||||
*
|
||||
* @event Phaser.Physics.Impact.Events#RESUME
|
||||
* @since 3.0.0
|
||||
*/
|
||||
module.exports = 'resume';
|
||||
17
node_modules/phaser/plugins/impact/events/index.js
generated
vendored
Normal file
17
node_modules/phaser/plugins/impact/events/index.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @author Richard Davey <rich@photonstorm.com>
|
||||
* @copyright 2020 Photon Storm Ltd.
|
||||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @namespace Phaser.Physics.Impact.Events
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
|
||||
COLLIDE: require('./COLLIDE_EVENT'),
|
||||
PAUSE: require('./PAUSE_EVENT'),
|
||||
RESUME: require('./RESUME_EVENT')
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user