phaser/src/textures/index.js
2018-03-16 17:35:01 +00:00

29 lines
694 B
JavaScript

/**
* @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 FilterMode = require('./FilterMode');
var Extend = require('../utils/object/Extend');
/**
* @namespace Phaser.Textures
*/
var Textures = {
Parsers: require('./parsers'),
FilterMode: require('./FilterMode'),
Frame: require('./Frame'),
Texture: require('./Texture'),
TextureManager: require('./TextureManager'),
TextureSource: require('./TextureSource')
};
// Merge in the consts
Textures = Extend(false, Textures, FilterMode);
module.exports = Textures;