mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
36 lines
1.2 KiB
JavaScript
36 lines
1.2 KiB
JavaScript
/**
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
* @copyright 2020 Photon Storm Ltd.
|
|
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
|
*/
|
|
|
|
/**
|
|
* An Impact.js compatible physics world, body and solver, for those who are used
|
|
* to the Impact way of defining and controlling physics bodies. Also works with
|
|
* the new Loader support for Weltmeister map data.
|
|
*
|
|
* World updated to run off the Phaser main loop.
|
|
* Body extended to support additional setter functions.
|
|
*
|
|
* To create the map data you'll need Weltmeister, which comes with Impact
|
|
* and can be purchased from http://impactjs.com
|
|
*
|
|
* My thanks to Dominic Szablewski for his permission to support Impact in Phaser.
|
|
*
|
|
* @namespace Phaser.Physics.Impact
|
|
*/
|
|
module.exports = {
|
|
|
|
Body: require('./Body'),
|
|
Events: require('./events'),
|
|
COLLIDES: require('./COLLIDES'),
|
|
CollisionMap: require('./CollisionMap'),
|
|
Factory: require('./Factory'),
|
|
Image: require('./ImpactImage'),
|
|
ImpactBody: require('./ImpactBody'),
|
|
ImpactPhysics: require('./ImpactPhysics'),
|
|
Sprite: require('./ImpactSprite'),
|
|
TYPE: require('./TYPE'),
|
|
World: require('./World')
|
|
|
|
};
|