You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
208 B
8 lines
208 B
3 years ago
|
use rst_core::loader::MapLoader;
|
||
|
use std::path::Path;
|
||
|
|
||
|
/// Load a set of maps at launch
|
||
|
pub(crate) fn load<'p, P: Into<&'p Path>>(path: P) -> MapLoader {
|
||
|
MapLoader::load_path(path.into().to_path_buf())
|
||
|
}
|