This commit is contained in:
Max Bradbury 2021-05-19 17:52:12 +01:00
parent c9c0942daf
commit 1a7d7c268a
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ pub struct Game {
pub struct GameParseError;
impl Game {
pub fn from(path: PathBuf) -> Result<Game, GameParseError> {
pub fn from_dir(path: PathBuf) -> Result<Game, GameParseError> {
let mut images = Vec::new();
let mut tiles = Vec::new();
let mut entities = Vec::new();