draw showinventory

This commit is contained in:
Llywelwyn 2023-09-30 08:53:16 +01:00
parent b524cc3b08
commit 0d834f5e23
3 changed files with 22 additions and 6 deletions

View file

@ -534,6 +534,9 @@ fn draw(_app: &mut App, gfx: &mut Graphics, gs: &mut State) {
RunState::GameOver => {
corner_text("Create morgue file? [Y/N]", &mut draw, &gs.font);
}
RunState::ShowInventory => {
gui::draw_inventory(&gs.ecs, &mut draw, &gs.font);
}
_ => {}
}
gfx.render(&draw);