2018-02-12 16:01:20 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
|
|
* @copyright 2018 Photon Storm Ltd.
|
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
2018-03-16 13:29:30 +00:00
|
|
|
var CONST = require('./const');
|
|
|
|
var Extend = require('../../utils/object/Extend');
|
|
|
|
|
2018-03-19 20:42:07 +00:00
|
|
|
/**
|
|
|
|
* @callback ArcadePhysicsCallback
|
|
|
|
*
|
2018-10-19 16:45:05 +00:00
|
|
|
* @param {Phaser.GameObjects.GameObject} object1 - The first Body to separate.
|
|
|
|
* @param {Phaser.GameObjects.GameObject} object2 - The second Body to separate.
|
2018-03-19 20:42:07 +00:00
|
|
|
*/
|
|
|
|
|
2018-02-09 01:40:41 +00:00
|
|
|
/**
|
|
|
|
* @namespace Phaser.Physics.Arcade
|
|
|
|
*/
|
2017-11-08 17:18:41 +00:00
|
|
|
|
2018-03-16 13:29:30 +00:00
|
|
|
var Arcade = {
|
2017-11-08 17:18:41 +00:00
|
|
|
|
2018-01-17 03:41:58 +00:00
|
|
|
ArcadePhysics: require('./ArcadePhysics'),
|
2017-11-08 17:18:41 +00:00
|
|
|
Body: require('./Body'),
|
2018-01-17 03:41:58 +00:00
|
|
|
Collider: require('./Collider'),
|
2017-11-13 01:04:45 +00:00
|
|
|
Factory: require('./Factory'),
|
|
|
|
Group: require('./PhysicsGroup'),
|
|
|
|
Image: require('./ArcadeImage'),
|
|
|
|
Sprite: require('./ArcadeSprite'),
|
2018-01-17 03:41:58 +00:00
|
|
|
StaticBody: require('./StaticBody'),
|
|
|
|
StaticGroup: require('./StaticPhysicsGroup'),
|
2017-11-13 01:04:45 +00:00
|
|
|
World: require('./World')
|
2018-03-19 20:42:07 +00:00
|
|
|
|
2017-11-08 17:18:41 +00:00
|
|
|
};
|
2018-03-16 13:29:30 +00:00
|
|
|
|
|
|
|
// Merge in the consts
|
|
|
|
Arcade = Extend(false, Arcade, CONST);
|
|
|
|
|
|
|
|
module.exports = Arcade;
|