forked from phaserjs/phaser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
39 lines (31 loc) · 1004 Bytes
/
Copy pathindex.js
File metadata and controls
39 lines (31 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
var CONST = require('./const');
var Extend = require('../../utils/object/Extend');
/**
* @callback ArcadePhysicsCallback
*
* @param {Phaser.GameObjects.GameObject} object1 - [description]
* @param {Phaser.GameObjects.GameObject} object2 - [description]
*/
/**
* @namespace Phaser.Physics.Arcade
*/
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')
};
// Merge in the consts
Arcade = Extend(false, Arcade, CONST);
module.exports = Arcade;