From 8b11578ed5d2b254c7b0f827170aadac6490434b Mon Sep 17 00:00:00 2001 From: Luis Ferro Date: Tue, 12 Nov 2019 16:07:29 +0100 Subject: Rendering stuff --- src/tiling.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tiling.rs') diff --git a/src/tiling.rs b/src/tiling.rs index 3e33de1..d443fb6 100644 --- a/src/tiling.rs +++ b/src/tiling.rs @@ -53,7 +53,7 @@ fn tile_to_str(tile: &TileType) -> &str { } } -fn draw_block(window: &Window, block: &TileType) { +pub fn draw_block(window: &Window, block: &TileType) { window.printw(tile_to_str(block)); } -- cgit v1.2.3