remove old impl
This commit is contained in:
parent
5b2d2cc510
commit
dbf728bb32
20
src/scene.rs
20
src/scene.rs
|
@ -44,26 +44,6 @@ struct IntermediateScene {
|
||||||
foreground: Vec<String>,
|
foreground: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
// impl IntermediateRoom {
|
|
||||||
// fn from(_room: Room) -> IntermediateRoom {
|
|
||||||
// fn hashmap_to_vec(_hash: HashMap<Position, String>, width: u8, height: u8) -> Vec<String> {
|
|
||||||
// let mut thing_ids = Vec::new();
|
|
||||||
//
|
|
||||||
// while thing_ids.len() < (width * height) as usize {
|
|
||||||
// thing_ids.push(String::new());
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// thing_ids
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// IntermediateRoom {
|
|
||||||
// name: "".to_string(),
|
|
||||||
// background: vec![],
|
|
||||||
// foreground: vec![]
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
Loading…
Reference in New Issue