phaser/src/scene/index.js

28 lines
619 B
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-01-31 13:54:44 +00:00
/**
* @namespace Phaser.Scenes
*/
2018-03-16 13:29:30 +00:00
var Scene = {
2019-01-17 19:51:18 +00:00
Events: require('./events'),
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;