phaser/src/physics/arcade/index.js

40 lines
1,004 B
JavaScript
Raw Normal View History

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
*
* @param {Phaser.GameObjects.GameObject} object1 - [description]
* @param {Phaser.GameObjects.GameObject} object2 - [description]
*/
/**
* @namespace Phaser.Physics.Arcade
*/
2018-03-16 13:29:30 +00:00
var Arcade = {
ArcadePhysics: require('./ArcadePhysics'),
Body: require('./Body'),
Collider: require('./Collider'),
Factory: require('./Factory'),
Group: require('./PhysicsGroup'),
Image: require('./ArcadeImage'),
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;