diff --git a/src/lib.rs b/src/lib.rs index 0d5c444..6eed072 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -121,7 +121,7 @@ pub struct Game { pub struct GameParseError; impl Game { - pub fn from(path: PathBuf) -> Result { + pub fn from_dir(path: PathBuf) -> Result { let mut images = Vec::new(); let mut tiles = Vec::new(); let mut entities = Vec::new();