2018-02-12 16:01:20 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2019-01-15 16:20:22 +00:00
|
|
|
* @copyright 2019 Photon Storm Ltd.
|
2018-02-12 16:01:20 +00:00
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
2018-02-09 15:23:33 +00:00
|
|
|
/**
|
|
|
|
* 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.
|
2018-03-18 23:42:09 +00:00
|
|
|
*
|
2018-02-09 15:23:33 +00:00
|
|
|
* World updated to run off the Phaser main loop.
|
|
|
|
* Body extended to support additional setter functions.
|
2018-03-18 23:42:09 +00:00
|
|
|
*
|
2018-02-09 15:23:33 +00:00
|
|
|
* To create the map data you'll need Weltmeister, which comes with Impact
|
|
|
|
* and can be purchased from http://impactjs.com
|
2018-03-18 23:42:09 +00:00
|
|
|
*
|
2018-02-09 15:23:33 +00:00
|
|
|
* My thanks to Dominic Szablewski for his permission to support Impact in Phaser.
|
2018-03-18 23:42:09 +00:00
|
|
|
*
|
2018-02-09 15:23:33 +00:00
|
|
|
* @namespace Phaser.Physics.Impact
|
|
|
|
*/
|
2017-06-21 23:47:35 +00:00
|
|
|
module.exports = {
|
|
|
|
|
|
|
|
Body: require('./Body'),
|
|
|
|
COLLIDES: require('./COLLIDES'),
|
2017-06-22 01:40:10 +00:00
|
|
|
CollisionMap: require('./CollisionMap'),
|
2018-01-17 03:41:58 +00:00
|
|
|
Factory: require('./Factory'),
|
|
|
|
Image: require('./ImpactImage'),
|
2018-02-09 15:23:33 +00:00
|
|
|
ImpactBody: require('./ImpactBody'),
|
2018-01-17 03:41:58 +00:00
|
|
|
ImpactPhysics: require('./ImpactPhysics'),
|
|
|
|
Sprite: require('./ImpactSprite'),
|
2017-06-21 23:47:35 +00:00
|
|
|
TYPE: require('./TYPE'),
|
2018-01-17 03:41:58 +00:00
|
|
|
World: require('./World')
|
2018-03-18 23:42:09 +00:00
|
|
|
|
2017-06-21 23:47:35 +00:00
|
|
|
};
|