phaser/src/physics/arcade/index.js

45 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.
2018-02-12 16:01:20 +00:00
* @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
*/
/**
* @namespace Phaser.Physics.Arcade
*/
2018-03-16 13:29:30 +00:00
var Arcade = {
ArcadePhysics: require('./ArcadePhysics'),
BaseBody: require('./BaseBody'),
Body: require('./Body'),
2019-03-27 09:50:48 +00:00
CheckOverlap: require('./CheckOverlap'),
Collider: require('./Collider'),
Components: require('./components'),
Factory: require('./Factory'),
2019-03-27 09:50:48 +00:00
GetOverlap: require('./GetOverlap'),
Group: require('./PhysicsGroup'),
Image: require('./ArcadeImage'),
2019-03-21 17:24:14 +00:00
IntersectsRect: require('./IntersectsRect'),
Sprite: require('./ArcadeSprite'),
StaticBody: require('./StaticBody'),
StaticGroup: require('./StaticPhysicsGroup'),
World: require('./World')
2018-03-19 20:42:07 +00:00
};
2018-03-16 13:29:30 +00:00
// Merge in the consts
Arcade = Extend(false, Arcade, CONST);
module.exports = Arcade;