diff options
author | Guillaume Pasquet <dev@etenil.net> | 2019-07-17 22:52:49 +0100 |
---|---|---|
committer | Guillaume Pasquet <dev@etenil.net> | 2019-07-17 22:52:49 +0100 |
commit | f7457e86061d59866599662f8ae12d9d7094e5c4 (patch) | |
tree | cf31fdc005ed243476b0483ed91ad613bffefa4e /src/main.rs | |
parent | caec9ec0841bf4e487921da1b894fbdeea584dc5 (diff) |
corridors
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs index ae32474..0293951 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,8 +24,6 @@ fn draw_block(window: &Window, block: &TileType) { TileType::Empty => " " }; - print!("{}", repr); - window.printw(repr); } @@ -37,12 +35,11 @@ fn render_world(window: &Window, world: &World) { draw_block(&window, block); } window.mv(linenum as i32, 0); - println!(""); } } fn main() { - let mut world = World::new(30); + let mut world = World::new(24); world.generate(); let window = initscr(); |