phaser/src/tilemaps/Formats.js
2022-02-28 14:29:51 +00:00

49 lines
873 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2022 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* @namespace Phaser.Tilemaps.Formats
*/
module.exports = {
/**
* CSV Map Type
*
* @name Phaser.Tilemaps.Formats.CSV
* @type {number}
* @since 3.0.0
*/
CSV: 0,
/**
* Tiled JSON Map Type
*
* @name Phaser.Tilemaps.Formats.TILED_JSON
* @type {number}
* @since 3.0.0
*/
TILED_JSON: 1,
/**
* 2D Array Map Type
*
* @name Phaser.Tilemaps.Formats.ARRAY_2D
* @type {number}
* @since 3.0.0
*/
ARRAY_2D: 2,
/**
* Weltmeister (Impact.js) Map Type
*
* @name Phaser.Tilemaps.Formats.WELTMEISTER
* @type {number}
* @since 3.0.0
*/
WELTMEISTER: 3
};