scene tile stubs

This commit is contained in:
Max Bradbury 2021-11-14 18:05:29 +00:00
parent 8ca5acc240
commit 14ffe95f7d
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,7 @@
use std::fs::read_to_string; use std::fs::read_to_string;
use std::path::PathBuf; use std::path::PathBuf;
use serde_derive::{Serialize, Deserialize}; use serde_derive::{Serialize, Deserialize};
use crate::Position;
#[derive(Debug, Eq, PartialEq)] #[derive(Debug, Eq, PartialEq)]
pub struct Scene { pub struct Scene {
@ -36,6 +37,10 @@ impl Scene {
Self { name, background, foreground } Self { name, background, foreground }
} }
pub fn set_tile(_position: Position, _new: String) {
todo!();
}
} }
/// scene name is derived from the filename, /// scene name is derived from the filename,