phaser/src/textures/index.js

29 lines
638 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}
*/
var CONST = require('./const');
2018-03-16 17:35:01 +00:00
var Extend = require('../utils/object/Extend');
2018-01-31 13:54:44 +00:00
/**
* @namespace Phaser.Textures
*/
2018-03-16 17:35:01 +00:00
var Textures = {
2018-03-16 17:29:39 +00:00
Parsers: require('./parsers'),
2018-02-08 04:01:44 +00:00
Frame: require('./Frame'),
Texture: require('./Texture'),
TextureManager: require('./TextureManager'),
TextureSource: require('./TextureSource')
};
2018-03-16 17:35:01 +00:00
// Merge in the consts
Textures = Extend(false, Textures, CONST);
2018-03-16 17:35:01 +00:00
module.exports = Textures;