pub fn load_map(tmx_file: &str) -> Result<World>
Expand description

Creates a World based on the Tiled .tmx map in tmx_file. The tmx file must use csv encoding for the layers.

Note: tmx_file is not a path, it should contain the raw XML contained within the .tmx file, e.g. from include_str.