phaser/src/tilemaps/Formats.js

50 lines
873 B
JavaScript
Raw Normal View History

2018-02-12 16:01:20 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
2022-02-28 14:29:51 +00:00
* @copyright 2022 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
*/
2018-02-07 21:58:23 +00:00
/**
* @namespace Phaser.Tilemaps.Formats
*/
module.exports = {
2018-02-07 21:58:23 +00:00
/**
* CSV Map Type
2022-02-28 14:29:51 +00:00
*
2018-02-07 21:58:23 +00:00
* @name Phaser.Tilemaps.Formats.CSV
* @type {number}
* @since 3.0.0
*/
2018-01-18 00:30:22 +00:00
CSV: 0,
2018-02-07 21:58:23 +00:00
/**
* Tiled JSON Map Type
2022-02-28 14:29:51 +00:00
*
2018-02-07 21:58:23 +00:00
* @name Phaser.Tilemaps.Formats.TILED_JSON
* @type {number}
* @since 3.0.0
*/
2018-01-18 00:30:22 +00:00
TILED_JSON: 1,
2018-02-07 21:58:23 +00:00
/**
* 2D Array Map Type
2022-02-28 14:29:51 +00:00
*
2018-02-07 21:58:23 +00:00
* @name Phaser.Tilemaps.Formats.ARRAY_2D
* @type {number}
* @since 3.0.0
*/
2018-01-18 00:30:22 +00:00
ARRAY_2D: 2,
2018-02-07 21:58:23 +00:00
/**
* Weltmeister (Impact.js) Map Type
2022-02-28 14:29:51 +00:00
*
2018-02-07 21:58:23 +00:00
* @name Phaser.Tilemaps.Formats.WELTMEISTER
* @type {number}
* @since 3.0.0
*/
2018-01-18 00:30:22 +00:00
WELTMEISTER: 3
};