|
1 | | -// Phaser.Physics.Impact |
2 | | - |
3 | | -// An Impact.js compatible physics world, body and solver, for those who are used |
4 | | -// to the Impact way of defining and controlling physics bodies. Also works with |
5 | | -// the new Loader support for Weltmeister map data. |
6 | | -// |
7 | | -// World updated to run off the Phaser main loop. |
8 | | -// Body extended to support additional setter functions. |
9 | | -// |
10 | | -// To create the map data you'll need Weltmeister, which comes with Impact |
11 | | -// and can be purchased from http://impactjs.com |
12 | | -// |
13 | | -// My thanks to Dominic Szablewski for his permission to support Impact in Phaser. |
| 1 | +/** |
| 2 | + * An Impact.js compatible physics world, body and solver, for those who are used |
| 3 | + * to the Impact way of defining and controlling physics bodies. Also works with |
| 4 | + * the new Loader support for Weltmeister map data. |
| 5 | + * |
| 6 | + * World updated to run off the Phaser main loop. |
| 7 | + * Body extended to support additional setter functions. |
| 8 | + * |
| 9 | + * To create the map data you'll need Weltmeister, which comes with Impact |
| 10 | + * and can be purchased from http://impactjs.com |
| 11 | + * |
| 12 | + * My thanks to Dominic Szablewski for his permission to support Impact in Phaser. |
| 13 | + * |
| 14 | + * @namespace Phaser.Physics.Impact |
| 15 | + */ |
14 | 16 |
|
15 | 17 | module.exports = { |
16 | 18 |
|
17 | 19 | Body: require('./Body'), |
18 | | - Body: require('./ImpactBody'), |
19 | 20 | COLLIDES: require('./COLLIDES'), |
20 | 21 | CollisionMap: require('./CollisionMap'), |
21 | 22 | Factory: require('./Factory'), |
22 | 23 | Image: require('./ImpactImage'), |
| 24 | + ImpactBody: require('./ImpactBody'), |
23 | 25 | ImpactPhysics: require('./ImpactPhysics'), |
24 | 26 | Sprite: require('./ImpactSprite'), |
25 | 27 | TYPE: require('./TYPE'), |
|
0 commit comments