phaser/src/tilemaps/index.js

44 lines
1.3 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 Extend = require('../utils/object/Extend');
2020-11-23 15:29:08 +00:00
var CONST = require('./const');
2018-02-07 17:10:01 +00:00
/**
* @namespace Phaser.Tilemaps
*
2020-11-23 15:29:08 +00:00
* @borrows Phaser.Tilemaps.Orientation.ORTHOGONAL as ORTHOGONAL
* @borrows Phaser.Tilemaps.Orientation.ISOMETRIC as ISOMETRIC
* @borrows Phaser.Tilemaps.Orientation.STAGGERED as STAGGERED
* @borrows Phaser.Tilemaps.Orientation.HEXAGONAL as HEXAGONAL
2018-02-07 17:10:01 +00:00
*/
2020-11-23 15:29:08 +00:00
var Tilemaps = {
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'),
TilemapLayer: require('./TilemapLayer'),
2020-11-23 15:29:08 +00:00
Orientation: require('./const/ORIENTATION_CONST'),
2018-02-07 17:10:01 +00:00
LayerData: require('./mapdata/LayerData'),
MapData: require('./mapdata/MapData'),
ObjectLayer: require('./mapdata/ObjectLayer')
2018-02-07 17:10:01 +00:00
};
2020-11-23 15:29:08 +00:00
Tilemaps = Extend(false, Tilemaps, CONST.ORIENTATION);
2020-11-23 15:29:08 +00:00
module.exports = Tilemaps;