UNPKG

ts-tiled-converter

Version:

Typescript library to convert tiled map to Studio map

11 lines 437 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assertMapValidity = void 0; var objects_1 = require("../tiledXML/objects"); var assertMapValidity = function (map) { if ((0, objects_1.getXMLProperties)(map).infinite !== 0) return new Error('Infinite maps are not supported.'); return true; }; exports.assertMapValidity = assertMapValidity; //# sourceMappingURL=assertMapValidity.js.map