phaser/src/physics/impact/index.js

37 lines
1.2 KiB
JavaScript
Raw Normal View History

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.
2019-05-10 15:15:04 +00:00
* @license {@link https://opensource.org/licenses/MIT|MIT License}
2018-02-12 16:01:20 +00:00
*/
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'),
2019-01-17 14:54:38 +00:00
Events: require('./events'),
2017-06-21 23:47:35 +00:00
COLLIDES: require('./COLLIDES'),
2017-06-22 01:40:10 +00:00
CollisionMap: require('./CollisionMap'),
Factory: require('./Factory'),
Image: require('./ImpactImage'),
2018-02-09 15:23:33 +00:00
ImpactBody: require('./ImpactBody'),
ImpactPhysics: require('./ImpactPhysics'),
Sprite: require('./ImpactSprite'),
2017-06-21 23:47:35 +00:00
TYPE: require('./TYPE'),
World: require('./World')
2018-03-18 23:42:09 +00:00
2017-06-21 23:47:35 +00:00
};