todo: other potential errors

This commit is contained in:
Max Bradbury 2020-06-23 13:06:55 +01:00
parent 716554e88b
commit 453eba2139
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ pub struct Game {
#[derive(Debug)] #[derive(Debug)]
pub struct GameHasNoAvatar; pub struct GameHasNoAvatar;
// todo no tiles? no rooms? no palettes?
impl Game { impl Game {
pub fn from(string: String) -> Result<Game, GameHasNoAvatar> { pub fn from(string: String) -> Result<Game, GameHasNoAvatar> {