scene tile stubs
This commit is contained in:
parent
8ca5acc240
commit
14ffe95f7d
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue