* read the layer Data * @ignore
(map, data, z)
| 26 | * @ignore |
| 27 | */ |
| 28 | function readLayer(map, data, z) { |
| 29 | return new TMXLayer( |
| 30 | map, |
| 31 | data, |
| 32 | map.tilewidth, |
| 33 | map.tileheight, |
| 34 | map.orientation, |
| 35 | map.tilesets, |
| 36 | z, |
| 37 | ); |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * read the Image Layer Data |