phaser/src/loader/index.js

35 lines
812 B
JavaScript
Raw Normal View History

2018-02-12 16:01:20 +00:00
/**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2024 Phaser Studio Inc.
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.Loader
*/
2018-03-16 13:29:30 +00:00
var Loader = {
2019-01-17 13:04:26 +00:00
Events: require('./events'),
FileTypes: require('./filetypes'),
File: require('./File'),
FileTypesManager: require('./FileTypesManager'),
GetURL: require('./GetURL'),
LoaderPlugin: require('./LoaderPlugin'),
MergeXHRSettings: require('./MergeXHRSettings'),
2018-05-04 10:33:51 +00:00
MultiFile: require('./MultiFile'),
XHRLoader: require('./XHRLoader'),
XHRSettings: require('./XHRSettings')
};
2018-03-16 13:29:30 +00:00
// Merge in the consts
Loader = Extend(false, Loader, CONST);
module.exports = Loader;