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
Name | Description |
---|---|
path | filesystem path to a JSON map file exported by Tiled |
Returns
The parsed map data
Authors
Copyright
Copyright © 2015, Ryan Roden-Corrent