rename
This commit is contained in:
parent
c9c0942daf
commit
1a7d7c268a
|
@ -121,7 +121,7 @@ pub struct Game {
|
||||||
pub struct GameParseError;
|
pub struct GameParseError;
|
||||||
|
|
||||||
impl Game {
|
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 images = Vec::new();
|
||||||
let mut tiles = Vec::new();
|
let mut tiles = Vec::new();
|
||||||
let mut entities = Vec::new();
|
let mut entities = Vec::new();
|
||||||
|
|
Loading…
Reference in New Issue