phaser/src/tilemaps/index.js

44 lines
1.1 KiB
JavaScript
Raw Normal View History

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
*/
var CONST = require('./const');
var Extend = require('../utils/object/Extend');
2018-02-07 17:10:01 +00:00
/**
* @namespace Phaser.Tilemaps
*/
var PhaserTilemaps = {
2018-02-07 17:10:01 +00:00
2018-03-16 18:08:51 +00:00
Components: require('./components'),
2018-02-09 18:44:16 +00:00
Parsers: require('./parsers'),
2018-02-08 01:08:59 +00:00
2018-02-07 17:10:01 +00:00
Formats: require('./Formats'),
ImageCollection: require('./ImageCollection'),
ParseToTilemap: require('./ParseToTilemap'),
Tile: require('./Tile'),
Tilemap: require('./Tilemap'),
TilemapCreator: require('./TilemapCreator'),
TilemapFactory: require('./TilemapFactory'),
Tileset: require('./Tileset'),
LayerData: require('./mapdata/LayerData'),
MapData: require('./mapdata/MapData'),
ObjectLayer: require('./mapdata/ObjectLayer'),
DynamicTilemapLayer: require('./dynamiclayer/DynamicTilemapLayer'),
StaticTilemapLayer: require('./staticlayer/StaticTilemapLayer')
};
// Merge in the consts
PhaserTilemaps = Extend(false, PhaserTilemaps, CONST);
// Export it
module.exports = PhaserTilemaps;