diff options
Diffstat (limited to 'src/level_gen/display.rs')
-rw-r--r-- | src/level_gen/display.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/level_gen/display.rs b/src/level_gen/display.rs deleted file mode 100644 index 4472bf4fe392..000000000000 --- a/src/level_gen/display.rs +++ /dev/null @@ -1,17 +0,0 @@ -use std::io::{self, Write}; - -pub fn print_generated_level<W>( - level: &Vec<Vec<bool>>, - out: &mut W, -) -> io::Result<()> -where - W: Write, -{ - for row in level { - for cell in row { - write!(out, "{}", if *cell { "X" } else { " " })?; - } - write!(out, "\n")?; - } - Ok(()) -} |