You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
397 B
JavaScript
24 lines
397 B
JavaScript
/**
|
|
* Describes how the map will operate in 2D.
|
|
*
|
|
* @enum {Number}
|
|
*/
|
|
var MapMode2D = {
|
|
/**
|
|
* The 2D map can be rotated about the z axis.
|
|
*
|
|
* @type {Number}
|
|
* @constant
|
|
*/
|
|
ROTATE: 0,
|
|
|
|
/**
|
|
* The 2D map can be scrolled infinitely in the horizontal direction.
|
|
*
|
|
* @type {Number}
|
|
* @constant
|
|
*/
|
|
INFINITE_SCROLL: 1,
|
|
};
|
|
export default Object.freeze(MapMode2D);
|