[−][src]Function rust_tower_defense::game::get_default_map
pub fn get_default_map() -> Result<GameMap, Box<dyn Error>>
Loads the default map from the environment variable DEFAULT_MAP, and returns a Ok variant containing the default map struct, or an error.
Errors
If there is any issue loading the map file from disk, an Err variant will be returned.