2018-02-12 16:01:20 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2023-01-02 17:36:27 +00:00
|
|
|
* @copyright 2013-2023 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-03-16 13:29:30 +00:00
|
|
|
var CONST = require('./const');
|
|
|
|
var Extend = require('../../utils/object/Extend');
|
|
|
|
|
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'),
|
2019-03-24 22:51:34 +00:00
|
|
|
Components: require('./components'),
|
2019-04-24 12:44:57 +00:00
|
|
|
Events: require('./events'),
|
2017-11-13 01:04:45 +00:00
|
|
|
Factory: require('./Factory'),
|
2023-10-04 20:31:54 +00:00
|
|
|
GetCollidesWith: require('./GetCollidesWith'),
|
2020-09-01 17:56:01 +00:00
|
|
|
GetOverlapX: require('./GetOverlapX'),
|
|
|
|
GetOverlapY: require('./GetOverlapY'),
|
|
|
|
SeparateX: require('./SeparateX'),
|
|
|
|
SeparateY: require('./SeparateY'),
|
2017-11-13 01:04:45 +00:00
|
|
|
Group: require('./PhysicsGroup'),
|
|
|
|
Image: require('./ArcadeImage'),
|
|
|
|
Sprite: require('./ArcadeSprite'),
|
2018-01-17 03:41:58 +00:00
|
|
|
StaticBody: require('./StaticBody'),
|
|
|
|
StaticGroup: require('./StaticPhysicsGroup'),
|
2020-09-01 19:28:42 +00:00
|
|
|
Tilemap: require('./tilemap/'),
|
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;
|