mainmenu draw
This commit is contained in:
parent
855304abc0
commit
ec8793180d
3 changed files with 49 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue