draw showinventory
This commit is contained in:
parent
b524cc3b08
commit
0d834f5e23
3 changed files with 22 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue