From caec9ec0841bf4e487921da1b894fbdeea584dc5 Mon Sep 17 00:00:00 2001 From: Guillaume Pasquet Date: Sun, 7 Jul 2019 23:37:22 +0100 Subject: Better rendering. --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 618327f..ae32474 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,7 +19,8 @@ use world::{World, GameWorld, TileType}; fn draw_block(window: &Window, block: &TileType) { let repr = match block { TileType::Floor => ".", - TileType::Wall => "0", + TileType::Wall => "█", + TileType::Corridor => "#", TileType::Empty => " " }; -- cgit v1.2.3