phaser/src/tilemaps/Formats.js
2018-02-12 16:01:21 +00:00

49 lines
903 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}
*/
/**
* @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
};