Get a loaded tile map or tileset (a "tmx", "tilemap", "spritefusion"
or "tsx" asset) as parsed data: the map's JSON structure, whether it was
loaded from XML or JSON. A Sprite Fusion map.json is kept as the file has
it (tileSize, mapWidth, mapHeight, layers).
Most code never needs it: level.load(name) builds the level from it.
Parameters
elt: string
the asset name
Returns object
the parsed map or tileset, or null if none is loaded
under that name
Get a loaded tile map or tileset (a
"tmx","tilemap","spritefusion"or"tsx"asset) as parsed data: the map's JSON structure, whether it was loaded from XML or JSON. A Sprite Fusionmap.jsonis kept as the file has it (tileSize,mapWidth,mapHeight,layers). Most code never needs it:level.load(name)builds the level from it.