Skip to main content

load_file_at

Function load_file_at 

Source
pub fn load_file_at(file_path: PathBuf) -> Option<LevelData>
Expand description

load the level file at the specified data path and attempt parse level data from it. if the file is successfully loaded and parsed, the level data is returned wrapped in an Option.