Function MapData.load

Load a Tiled map from a JSON file. Throws if no file is found at that path or if the parsing fails.

Prototype

auto static MapData load(
  string path
);

Parameters

NameDescription
path filesystem path to a JSON map file exported by Tiled

Returns

The parsed map data

Authors

rcorre

Copyright

Copyright © 2015, Ryan Roden-Corrent

License

MIT