mainmenu draw

This commit is contained in:
Llywelwyn 2023-09-30 03:24:30 +01:00
parent 855304abc0
commit ec8793180d
3 changed files with 49 additions and 1 deletions

View file

@ -493,7 +493,7 @@ fn draw(_app: &mut App, gfx: &mut Graphics, gs: &mut State) {
let runstate = *gs.ecs.fetch::<RunState>();
match runstate {
RunState::MainMenu { .. } => {
// Draw main menu
gui::draw_mainmenu(&gs.ecs, &mut draw, &gs.atlas, &gs.font);
}
RunState::CharacterCreation { .. } => {
// Draw character creation