2018-02-12 16:01:20 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2020-01-15 12:07:09 +00:00
|
|
|
* @copyright 2020 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-01-31 13:54:44 +00:00
|
|
|
/**
|
|
|
|
* @namespace Phaser.Scenes
|
|
|
|
*/
|
2018-01-18 05:19:42 +00:00
|
|
|
|
2018-03-16 13:29:30 +00:00
|
|
|
var Scene = {
|
2018-01-18 05:19:42 +00:00
|
|
|
|
2019-01-17 19:51:18 +00:00
|
|
|
Events: require('./events'),
|
2018-01-18 05:19:42 +00:00
|
|
|
SceneManager: require('./SceneManager'),
|
|
|
|
ScenePlugin: require('./ScenePlugin'),
|
|
|
|
Settings: require('./Settings'),
|
|
|
|
Systems: require('./Systems')
|
|
|
|
|
|
|
|
};
|
2018-03-16 13:29:30 +00:00
|
|
|
|
|
|
|
// Merge in the consts
|
|
|
|
Scene = Extend(false, Scene, CONST);
|
|
|
|
|
|
|
|
module.exports = Scene;
|